bartlomieju / deno.ns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:TypeScript 95.2%Language:JavaScript 4.3%Language:Shell 0.5%