-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move deno.ns into packages folder (#63)
- Loading branch information
Showing
152 changed files
with
735 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
lib/deno.ns.lib.d.ts linguist-generated=true | ||
packages/deno.ns/lib/deno.ns.lib.d.ts linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ node_modules | |
dist | ||
lib.deno.d.ts | ||
lib.deno.unstable.d.ts | ||
unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "thirdparty/deno"] | ||
path = thirdparty/deno | ||
[submodule "packages/deno.ns/third_party/deno"] | ||
path = packages/deno.ns/third_party/deno | ||
url = https://github.com/denoland/deno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,7 @@ | ||
# `deno.ns` | ||
|
||
[`Deno` namespace](https://doc.deno.land/builtin/stable) shim for Node.js. | ||
Deno shims for Node.js | ||
|
||
See [PROGRESS.md](PROGRESS.md) | ||
## Packages | ||
|
||
## Usage | ||
|
||
```js | ||
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](tools/working_test_files.txt), | ||
making tests pass, and [skipping unsatisfiable tests](tools/skip_tests.cjs). | ||
|
||
Please set up [pre-commit hook](tools/hooks/pre-commit): | ||
|
||
```sh | ||
$ git config core.hooksPath tools/hooks | ||
``` | ||
|
||
## Acknowledgements | ||
|
||
Special thanks to the [@fromdeno](https://github.com/fromdeno) organization for | ||
starting this project and for their contributions—specifically | ||
[@wojpawlik](https://github.com/wojpawlik), | ||
[@MKRhere](https://github.com/MKRhere), and | ||
[@trgwii](https://github.com/trgwii). | ||
- [deno.ns](packages/deno.ns) - Deno namespace shim. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.