Socket
Book a DemoInstallSign in
Socket

babel-preset-es2015-no-commonjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-es2015-no-commonjs

es2015 preset without commonjs

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

babel-preset-es2015-no-commonjs

Babel preset for all es2015 plugins except commonjs.

Install

$ npm install --save-dev babel-preset-es2015-no-commonjs

Usage

.babelrc

{
  "presets": ["es2015-no-commonjs"]
}

Via CLI

$ babel script.js --presets es2015-no-commonjs

Via Node API

require("babel-core").transform("code", {
  presets: ["es2015-no-commonjs"]
});

FAQs

Package last updated on 19 Dec 2015

Did you know?

Socket

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