babel-preset-es2015-nostrict

Babel preset for all es2015 plugins, without global 'use strict' statement.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-es2015-nostrict
6.6.27 years ago7 years agoMinified + gzip package size for babel-preset-es2015-nostrict in KB

Readme

babel-preset-es2015-nostrict
Babel preset for all es2015 plugins, without global 'use strict' statement.

Install

$ npm install --save-dev babel-preset-es2015-nostrict

Usage

Via .babelrc (Recommended)

.babelrc
{
  "presets": ["es2015-nostrict"]
}

Via CLI

$ babel script.js --presets es2015-nostrict 

Via Node API

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