Socket
Socket
Sign inDemoInstall

bablyfill

Package Overview
Dependencies
304
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bablyfill

polyfill to run esnext code in node


Version published
Maintainers
1
Created

Readme

Source

Build Status

bablyfill

run your es6+ node code without any installs but bablyfill

Install

local
npm install [--save[-dev]] bablyfill
yarn add bablyfill
global
npm i -g bablyfill
yarn global add bablyfill

Usage

CLI

bablyfill installs 4 binaries that are only aliases for each other. you can use each following shell command to start the magic:

bablyfill
devnode
es6ify
es6

run es6 code

to run es6+ code you can simply call:

es6 path/to/es6-app.js
transpile to stdout
es6 path/to/es6-app.js -t
transpile and save es6 file
es6 path/to/es6-app.js path/lib/dest.js
transpile / transform multiple es6 sources using glob or path
es6 'path/to/es6/**/*.js' path/to/lib/
es6 path/to/es6 path/to/lib/

Keywords

FAQs

Last updated on 06 Apr 2018

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