Socket
Socket
Sign inDemoInstall

bn0

Package Overview
Dependencies
441
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bn0

bn0: an alternative babel-node binary with pre-loaded nightly presets


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Install size
28.5 MB
Created
Weekly downloads
 

Readme

Source

bn0 npm

bn0: bn0: babel-node with pre-loaded presets

$ npm install -g bn0
$ bn0 myFile.js

This is a wrapper of @babel/node that provides a bn0 binary. bn0 is a babel-node alternative with some commonly used presets pre-loaded. It comes with:

Why?

First of all, it's no different than babel-node so don't use it in production.

Say you wanna quickly prototype some stuff using the latest JavaScript features, but:

  1. Installing @babel/cli and presets globally is a bad idea
  2. Setting up a new project and adding @babel/core, @babel/cli, @babel/preset-... dependencies takes too much time

Got it? bn0 requires no configuration and doesn't pollute your local require/import calls. Just run your file with bn0 myFile.js, or use bn0 itself for a REPL.

Keywords

FAQs

Last updated on 08 Mar 2019

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