https://github.com/kamiazya/denolize
Transpile the package created for Node into the Deno module.🦕
https://github.com/kamiazya/denolize
deno deno-module typescript-library
Last synced: 4 months ago
JSON representation
Transpile the package created for Node into the Deno module.🦕
- Host: GitHub
- URL: https://github.com/kamiazya/denolize
- Owner: kamiazya
- License: mit
- Created: 2020-05-28T15:46:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T07:26:44.000Z (over 3 years ago)
- Last Synced: 2025-04-08T11:01:35.148Z (about 1 year ago)
- Topics: deno, deno-module, typescript-library
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](http://makeapullrequest.com)
# denolize
Transpile the package created for Node into the Deno module.
> Requires the `--unstable`, `--allow-read` and `--allow-write` flags.
## Installation
```bash
$ deno install --unstable --allow-read --allow-write \
-n denolize \
https://raw.githubusercontent.com/kamiazya/denolize/master/cli/mod.ts
Download https://raw.githubusercontent.com/kamiazya/denolize/master/cli/mod.ts
Download https://deno.land/x/cliffy/command.ts
...
Compile https://raw.githubusercontent.com/kamiazya/denolize/master/cli/mod.ts
✅ Successfully installed denolize
~/.deno/bin/denolize
```
## Usage
```bash
$ denolize -h
Usage: denolize [rootDir:string] [outDir:string]
Version: v0.0.8
Description:
Transpile the package created for Node into the Deno module.
Options:
-h, --help [arg:boolean] - Show this help.
-V, --version [arg:boolean] - Show the version number for this program.
Commands:
help [command:command] - Show this help or the help of a sub-command.
completions - Generate shell completions for zsh and bash.
# denolize the files under the src directory.
$ denolize src
# denolize the files under the src directory and output to the deno directory.
$ denolize src deno
```
## Articles
- [Deno.js Tutorial to Transpile Node.js Packages to Deno Modules Using denolize Library in TypeScript](https://codingdiksha.com/transpile-node-js-packages-to-deno-modules-using-denolize-library-in-typescript-in-deno-js/)
## License
This software is released under the MIT License, see [LICENSE](./LICENSE).