3 ms·
Are deno packages usable from the node side of the ecosystem ? and vice versa ?
by jrimbault 4y ago
Are deno packages usable from the node side of the ecosystem ? and vice versa ?
- rough-sea 4y agoYou can use Node modules in Deno using https://esm.sh/ https://esm.sh/ You can use Deno modules in Node using https://github.com/denoland/dnt https://github.com/denoland/dnt
- kevinfiol 4y agoDepends if your package uses any specific Deno/Node APIs. Deno also only supports ESM (which you should be using anyway). There is, however, a Node compatibility layer for Deno: https://deno.land/manual@v1.14.1/npm_nodejs/std_node https://deno.land/manual@v1.14.1/npm_nodejs/std_node
- deleted 4y ago[deleted]