
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@babel/preset-env
Advanced tools
A Babel preset for each environment.
See our website @babel/preset-env for more information or the issues associated with this package.
Using npm:
npm install --save-dev @babel/preset-env
or using yarn:
yarn add @babel/preset-env --dev
core-js is a modular standard library for JavaScript, which includes polyfills for ECMAScript up to 2021. It's often used in conjunction with Babel to polyfill newer JavaScript features in older environments. Unlike @babel/preset-env, core-js does not handle syntax transformations but focuses on providing polyfills for language features.
esbuild is an extremely fast JavaScript bundler and minifier. It can compile modern JavaScript syntax to older versions for compatibility purposes, similar to what @babel/preset-env does. However, esbuild is more focused on the bundling aspect and aims to be a more comprehensive build tool rather than just a transpiler.
TypeScript is a superset of JavaScript that adds static types. The TypeScript compiler can also downlevel modern JavaScript to older versions, similar to @babel/preset-env. However, TypeScript's primary focus is on type safety and it requires type annotations, whereas @babel/preset-env is purely about compiling newer JavaScript syntax to older versions.
FAQs
A Babel preset for each environment.
The npm package @babel/preset-env receives a total of 17,030,550 weekly downloads. As such, @babel/preset-env popularity was classified as popular.
We found that @babel/preset-env demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.