Registry / devops / babel-preset-es2016-node5

babel-preset-es2016-node5

JSON →
library1.1.2jsnpmunverified

Babel preset targeting Node.js 5 to enable ES2015 features (destructuring, rest/default parameters, modules, unicode/sticky regex) and the ES2016 async function. Version 1.1.2 is the latest and final release; the project is abandoned. Unlike broader presets like babel-preset-env, this is a narrow, version-specific preset that only adds missing ES2015 features for Node 5 and one ES2016 feature (async). It is superseded by babel-preset-env and the Babel 7 ecosystem.

npm install babel-preset-es2016-node5
INSTALL
IMPORT
SIG · BABEL-PRESET-ES201
B
babel-preset-es2016-node5
devopsjavascriptv1.1.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

preset
require('babel-preset-es2016-node5')
This package is a Babel preset, used via Babel configuration files or API. It is not directly imported as a module in application code.

Shows .babelrc configuration to enable the preset for transforming code.

{ "presets": ["es2016-node5"] }
Debug
Known issues
deprecatedThis preset is no longer maintained and relies on outdated Babel 6 ecosystem.
fix
Migrate to babel-preset-env with appropriate targets for Node 5.
affects: >=1.0.0
gotchaOnly one ES2016 feature (async functions) is supported; other ES2016 features are not included.
fix
Use babel-preset-stage-3 for additional proposed features.
affects: >=1.0.0
gotchaNode@5 must be specifically targeted; this preset does not work for other Node versions without modification.
fix
Use babel-preset-env with targets.node=5 instead.
affects: >=1.0.0
Errors
Common errors & fixes
ReferenceError: [BABEL] unknown preset: es2016-node5
Missing required package babel-preset-es2016-node5 in node_modules.
fix
npm install --save-dev babel-preset-es2016-node5
Error: Preset es2016-node5 requires babel-preset-es2015-node5 which is not installed.
Missing peer dependency babel-preset-es2015-node5.
fix
npm install --save-dev babel-preset-es2015-node5
Cannot find module 'babel-preset-es2016-node5' from '...'
Preset not found in node_modules or Babel configuration path.
fix
Ensure package is installed and .babelrc is in the correct project root.
Upgrade
Version history
1.1.2latest on npm
Audit
Dependencies
babel-preset-es2015-node5requiredThis preset extends babel-preset-es2015-node5 to add async support.
babel-preset-stage-3optionalProvides async function transformation via stage-3 preset if needed. Documented as alternative.
Agent activity
2 hits · last 30 days
node
2
Resources
babel-preset-es2016-node5 — npm install babel-preset-es2016-node5 · libregistry