
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
babel-preset-es2015
Advanced tools
Babel preset for all es2015 plugins.
npm install --save-dev babel-preset-es2015
.babelrc (Recommended).babelrc
{
"presets": ["es2015"]
}
babel script.js --presets es2015
require("babel-core").transform("code", {
presets: ["es2015"]
});
looseboolean, defaults to false.
Enable "loose" transformations for any plugins in this preset that allow them.
modules"amd" | "umd" | "systemjs" | "commonjs" | false, defaults to "commonjs".
Enable transformation of ES6 module syntax to another module type.
Setting this to false will not transform modules.
specboolean, defaults to false.
Enable "spec" transformations for any plugins in this preset that allow them.
FAQs
Babel preset for all es2015 plugins.
We found that babel-preset-es2015 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.