{"id":20766993,"url":"https://github.com/binded/babel-preset-eslatest-node6","last_synced_at":"2025-05-11T08:34:03.678Z","repository":{"id":97906105,"uuid":"67968937","full_name":"binded/babel-preset-eslatest-node6","owner":"binded","description":"Babel preset to make Node v6 fully compatible with the latest ECMAScript specification.","archived":true,"fork":false,"pushed_at":"2016-11-28T21:28:35.000Z","size":9,"stargazers_count":45,"open_issues_count":0,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-27T12:02:16.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binded.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-12T02:33:13.000Z","updated_at":"2025-03-11T07:58:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d1461f4-a8ee-4f51-a57d-dfac70919e6b","html_url":"https://github.com/binded/babel-preset-eslatest-node6","commit_stats":null,"previous_names":["blockai/babel-preset-eslatest-node6"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbabel-preset-eslatest-node6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbabel-preset-eslatest-node6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbabel-preset-eslatest-node6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbabel-preset-eslatest-node6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binded","download_url":"https://codeload.github.com/binded/babel-preset-eslatest-node6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253540462,"owners_count":21924522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T11:27:09.070Z","updated_at":"2025-05-11T08:34:03.393Z","avatar_url":"https://github.com/binded.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-preset-eslatest-node6\n\n[![Build Status](https://travis-ci.org/blockai/babel-preset-eslatest-node6.svg?branch=master)](https://travis-ci.org/blockai/babel-preset-eslatest-node6)\n\nBabel preset to make Node v6 fully compatible with the [latest\nECMAScript specification](https://tc39.github.io/ecma262/). This\nincludes all [finished proposals](https://github.com/tc39/proposals/blob/master/finished-proposals.md) but not stage 0 to 3 proposals.\n\nIt intentionally won't compile things that are already natively\nsupported by Node v6.\n\n**Included plugins**\n\n- ES2015\n  - modules ([transform-es2015-modules-commonjs](http://babeljs.io/docs/plugins/transform-es2015-modules-commonjs))\n- ES2016\n  - exponentiation operator ([transform-exponentiation-operator](http://babeljs.io/docs/plugins/transform-exponentiation-operator))\n- ES2017\n  - trailing function commas ([syntax-trailing-function-commas](http://babeljs.io/docs/plugins/syntax-trailing-function-commas))\n  - async / await ([transform-async-to-generator](http://babeljs.io/docs/plugins/transform-async-to-generator))\n\n**Missing features**\n\nFor [Object.values/Object.entries](https://github.com/tc39/proposal-object-values-entries), [String padding](https://github.com/tc39/proposal-string-pad-start-end) or [Object.getOwnPropertyDescriptors](https://github.com/tc39/proposal-object-getownpropertydescriptors) support, use [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) or [transform-runtime](https://babeljs.io/docs/plugins/transform-runtime/).\n\n## Install\n\n```bash\nnpm install --save-dev babel-preset-eslatest-node6\n```\n\n## Usage\n\n### Via `.babelrc` (recommended)\n\n**.babelrc**\n\n```json\n{\n  \"presets\": [\"eslatest-node6\"]\n}\n```\n\n**Note**: if you are using [object rest/spread](https://babeljs.io/docs/plugins/transform-object-rest-spread/), you will need to add a few additional plugins to make it work:\n\n```sh\nnpm install --save-dev \\\n  babel-plugin-transform-es2015-destructuring \\\n  babel-plugin-transform-es2015-parameters \\\n  babel-plugin-transform-object-rest-spread\n```\n\n```json\n{\n  \"presets\": [\"eslatest-node6\"],\n  \"plugins\": [\n    \"transform-es2015-destructuring\",\n    \"transform-es2015-parameters\",\n    [\"transform-object-rest-spread\", { \"useBuiltIns\": true }]\n  ]\n}\n```\n\n\n### Via CLI\n\n```js\nbabel script.js --presets eslatest-node6\n```\n\n### Via Node API\n\n```js\nrequire('babel-core').transform('code', {\n  presets: ['eslatest-node6'],\n})\n```\n\n### Options\n\n* `loose` - Enable \"[loose](http://www.2ality.com/2015/12/babel6-loose-mode.html)\" transformations for any plugins in this preset that allow them (disabled by default).\n\n```json\n{\n  \"presets\": [\n    [\"eslatest-node6\", { \"loose\": true }]\n  ]\n}\n```\n\n## Credits\n\nInspired by [babel-preset-es2015-node6](https://github.com/jhen0409/babel-preset-es2015-node6)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fbabel-preset-eslatest-node6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinded%2Fbabel-preset-eslatest-node6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fbabel-preset-eslatest-node6/lists"}