denofy
v0.4.1
Published
Convert your node code into deno
Readme
Convert your node code into deno
Still work in progress and a long way to PoC
See demo (after git clone)
yarn install
cd example
yarn startIdea
- Map npm dep
footonpm:foo - Map node builtins
fstohttps://deno.land/std/node/fs.ts - Gen import_maps.json in
non-inlinemode - ~~Inject
createRequriecode fromhttps://deno.land/std/node/module.tsin commonjs gen mode~~ - Keep folder structure and don't minify the code for now
TODO
- [ ] Support gen node code + import_maps
- [ ] Support gen deno code (inline mode)
- [x] Support esm gen
- [ ] ~~Support commonjs gen + createRequire (deno commonjs shim mode) IMPOSSIBLE~~
