msgpack / msgpack-javascript

@msgpack/msgpack - MessagePack for JavaScript / msgpack.org[JavaScript/TypeScript/ECMA-262]
https://msgpack.org/
ISC License
1.3k stars 162 forks source link

migration to ESM #218

Closed gfx closed 1 year ago

gfx commented 1 year ago

TypeScript 5.0 supports import *.ts but it isn't intended to be used in code like this library. Even under that feature, libraries that are released to npm with *.js + *.d.ts should have import *.mjs.

idranme commented 1 year ago

import *.ts enables deno to use code from the src directory directly. This is required for use via deno.land/x/.

image

Related: #229