deno.nsdeprecated

Deno namespace shim for Node.js

Usage no npm install needed!

<script type="module">
  import denoNs from 'https://cdn.skypack.dev/deno.ns';
</script>

README

deno.ns

Deno namespace shim for Node.js.

See PROGRESS.md

Usage

const {
  alert,
  Blob,
  confirm,
  crypto,
  Deno,
  fetch,
  File,
  FormData,
  Headers,
  prompt,
  Request,
  Response,
} = require("deno.ns");

or node --require=deno.ns/global <denoBundleOutput>,

or https://github.com/wojpawlik/deno2node#shimming.

Contributing

Right now, you can help by enabling a test file, making tests pass, and skipping unsatisfiable tests.

Please set up pre-commit hook:

$ git config core.hooksPath tools/hooks

Acknowledgements

Special thanks to the @fromdeno organization for starting this project and for their contributions—specifically @wojpawlik, @MKRhere, and @trgwii.