{"id":19288,"library":"babel-preset-es2016-node5","title":"babel-preset-es2016-node5","description":"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.","status":"abandoned","version":"1.1.2","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/Pana/babel-preset-es2016-node5","tags":["javascript","babel-preset-es2016","babel-preset","babel","node5","es2016"],"install":[{"cmd":"npm install babel-preset-es2016-node5","lang":"bash","label":"npm"},{"cmd":"yarn add babel-preset-es2016-node5","lang":"bash","label":"yarn"},{"cmd":"pnpm add babel-preset-es2016-node5","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"This preset extends babel-preset-es2015-node5 to add async support.","package":"babel-preset-es2015-node5","optional":false},{"reason":"Provides async function transformation via stage-3 preset if needed. Documented as alternative.","package":"babel-preset-stage-3","optional":true}],"imports":[{"note":"This package is a Babel preset, used via Babel configuration files or API. It is not directly imported as a module in application code.","wrong":"","symbol":"preset","correct":"require('babel-preset-es2016-node5')"}],"quickstart":{"code":"{\n  \"presets\": [\"es2016-node5\"]\n}","lang":"javascript","description":"Shows .babelrc configuration to enable the preset for transforming code."},"warnings":[{"fix":"Migrate to babel-preset-env with appropriate targets for Node 5.","message":"This preset is no longer maintained and relies on outdated Babel 6 ecosystem.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use babel-preset-stage-3 for additional proposed features.","message":"Only one ES2016 feature (async functions) is supported; other ES2016 features are not included.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use babel-preset-env with targets.node=5 instead.","message":"Node@5 must be specifically targeted; this preset does not work for other Node versions without modification.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install --save-dev babel-preset-es2016-node5","cause":"Missing required package babel-preset-es2016-node5 in node_modules.","error":"ReferenceError: [BABEL] unknown preset: es2016-node5"},{"fix":"npm install --save-dev babel-preset-es2015-node5","cause":"Missing peer dependency babel-preset-es2015-node5.","error":"Error: Preset es2016-node5 requires babel-preset-es2015-node5 which is not installed."},{"fix":"Ensure package is installed and .babelrc is in the correct project root.","cause":"Preset not found in node_modules or Babel configuration path.","error":"Cannot find module 'babel-preset-es2016-node5' from '...'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}