Skip to content

kt3k/deno.ns

 
 

Repository files navigation

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.

Use https://github.com/fromdeno/test to run Deno.tests.

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.

About

Node module (distributed on NPM) which provides the "Deno" namespace. For running Deno-first programs on Node.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 4.3%
  • Shell 0.5%