js-simple
v0.2.2
Published
All JS common types and utils
Downloads
2
Readme
Installation
Just install it and add to your package:
With NPM:
npm install --save-dev babel-enhanced-node
With Yarn:
yarn add --dev babel-enhanced-node
(Make sure you have babel-core
installed as dependency in your project as babel-node
only defines babel-core
as a "peerDependency")
Then use babel-node
in your package.json
in scripts section like this:
"scripts": {
"start": "babel-node src/main.js"
}
Or if you want to run directly:
yarn babel-node src/main.js