Skip to content

Latest commit

 

History

History
55 lines (26 loc) · 751 Bytes

File metadata and controls

55 lines (26 loc) · 751 Bytes

babel-register-cli

Build Status

Just like babel-node, but using babel-register. So you could use it in production.

Why

Before

// index.js

require('babel-register');
require('./my-es6.js');
node index.js

Now

babel-register my-es6.js

Usage

Just the same with node.

Installation

Using npm:

$ npm install babel-register-cli -g

License

MIT