0.0.0 • Published 5 years ago
node-to-deno v0.0.0
node-to-deno
Install
npm i -g node-to-deno
Usage
Let's say you have a file called index.js
that totally works in Node.js
const chalk = require('chalk')
module.exports = {
sayHello() {
console.log(chalk.red('Hello there!'))
}
}
Now let's make this file compatible with deno:
node-to-deno index.js
Then the output file will be dist/index.js
, try running it with deno:
deno dist/index.js
Hooray 🥳
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
node-to-deno © EGOIST, Released under the MIT License. Authored and maintained by EGOIST with help from contributors (list).
github.com/egoist · GitHub @EGOIST · Twitter @_egoistlily
0.0.0
5 years ago