Socket
Socket
Sign inDemoInstall

babel-register-cli

Package Overview
Dependencies
50
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-register-cli

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


Version published
Maintainers
1
Install size
5.69 MB
Created

Readme

Source

babel-register-cli

Build Status

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

Why

  • You should not be using babel-node in production. https://babeljs.io/docs/usage/cli/
  • babel-register is fussy. See below for detail.

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

Keywords

FAQs

Last updated on 16 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc