Deno shims for Node.js
- @deno/shim-deno - Deno namespace shim.
- @deno/shim-deno-test -
Deno.test
only shim.
- @deno/shim-deno-test -
- @deno/shim-crypto - Shim for the
crypto
global. - @deno/shim-prompts - Shims for
alert
,confirm
andprompt
. - @deno/shim-timers - Shims for
setTimeout
andsetInterval
. - @deno/sham-weakref - Sham for the
WeakRef
global that uses the globalWeakRef
if it exists.
Commands:
# get submodules it you did not clone them initially
git submodule init
git submodule update
# npm install
npm i --ignore-scripts
# build all packages
npm run build --workspaces
# test all packages
npm run test --workspaces
# format
deno fmt
# lint
deno lint
For package specific development commands, see the package.json scripts in each package.