Skip to content

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

License

Notifications You must be signed in to change notification settings

Cap32/babel-register-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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