0.0.0 • Published 7 years ago
node-to-deno v0.0.0
node-to-deno
Install
npm i -g node-to-denoUsage
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.jsThen the output file will be dist/index.js, try running it with deno:
deno dist/index.jsHooray 🥳
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
7 years ago