Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denoland/node_shims
npm packages providing shims for the Deno namespace and other globals. Useful for running Deno-first programs on Node.
https://github.com/denoland/node_shims
Last synced: about 2 months ago
JSON representation
npm packages providing shims for the Deno namespace and other globals. Useful for running Deno-first programs on Node.
- Host: GitHub
- URL: https://github.com/denoland/node_shims
- Owner: denoland
- License: mit
- Created: 2021-04-29T10:03:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T20:30:28.000Z (7 months ago)
- Last Synced: 2024-10-29T17:18:53.991Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 529 KB
- Stars: 149
- Watchers: 16
- Forks: 28
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node_deno_shims
Deno shims for Node.js
## Packages
- [@deno/shim-deno](packages/shim-deno) - Deno namespace shim.
- [@deno/shim-deno-test](packages/shim-deno-test) - `Deno.test` only shim.
- [@deno/shim-crypto](packages/shim-crypto) - Shim for the `crypto` global.
- [@deno/shim-prompts](packages/shim-prompts) - Shims for `alert`, `confirm` and
`prompt`.
- [@deno/shim-timers](packages/shim-timers) - Shims for `setTimeout` and
`setInterval`.
- [@deno/sham-weakref](packages/sham-weakref) - Sham for the `WeakRef` global
that uses the global `WeakRef` if it exists.## Contributing
Commands:
```sh
# get submodules if you did not clone them initially
git submodule init --recursive
git submodule update --recursive
# 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.