JSPM

  • Created
  • Published
  • Downloads 807304
  • Score
    100M100P100Q168435F
  • License MIT

Babel command line

Package Exports

  • @babel/node/bin/babel-node
  • @babel/node/bin/babel-node.js
  • @babel/node/lib/babel-node
  • @babel/node/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babel/node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@babel/node

A Babel-powered Node.js CLI

babel-node is a CLI that works exactly the same as the Node.js CLI, with the added benefit of compiling with Babel presets and plugins before running it.

Install

npm install --save-dev @babel/core @babel/node

Usage

babel-node [options] [ -e script | script.js ] [arguments]