{"id":15156193,"url":"https://github.com/michaelcontento/babel-preset-modern-node","last_synced_at":"2025-09-30T04:31:57.813Z","repository":{"id":57188996,"uuid":"51247634","full_name":"michaelcontento/babel-preset-modern-node","owner":"michaelcontento","description":"Babel preset for modern node apps","archived":true,"fork":false,"pushed_at":"2016-11-02T20:32:24.000Z","size":65,"stargazers_count":19,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-08T17:11:27.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/michaelcontento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-07T12:58:04.000Z","updated_at":"2023-01-28T19:35:32.000Z","dependencies_parsed_at":"2022-08-28T13:00:59.861Z","dependency_job_id":null,"html_url":"https://github.com/michaelcontento/babel-preset-modern-node","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/michaelcontento/babel-preset-modern-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fbabel-preset-modern-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fbabel-preset-modern-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fbabel-preset-modern-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fbabel-preset-modern-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelcontento","download_url":"https://codeload.github.com/michaelcontento/babel-preset-modern-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fbabel-preset-modern-node/sbom","scorecard":{"id":641038,"data":{"date":"2025-08-11","repo":{"name":"github.com/michaelcontento/babel-preset-modern-node","commit":"e2e215deebd856f27066b460970f8acf79d6bbfd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T10:45:39.718Z","repository_id":57188996,"created_at":"2025-08-21T10:45:39.718Z","updated_at":"2025-08-21T10:45:39.718Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277632340,"owners_count":25850732,"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","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-26T19:01:37.858Z","updated_at":"2025-09-30T04:31:57.540Z","avatar_url":"https://github.com/michaelcontento.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[babel-preset-modern-node][]\n================================\n\nBabel preset for building modern node apps with the least amount of\ntransformations as possible.\n\n[![build](https://travis-ci.org/michaelcontento/babel-preset-modern-node.svg)](https://travis-ci.org/michaelcontento/babel-preset-modern-node)\n[![dependencies](https://david-dm.org/michaelcontento/babel-preset-modern-node.svg)](https://david-dm.org/michaelcontento/babel-preset-modern-node)\n[![devDependencies](https://david-dm.org/michaelcontento/babel-preset-modern-node/dev-status.svg)](https://david-dm.org/michaelcontento/babel-preset-modern-node#info=devDependencies)\n\n[![license](https://img.shields.io/npm/l/babel-preset-modern-node.svg?style=flat-square)](https://www.npmjs.com/package/babel-preset-modern-node)\n[![npm version](https://img.shields.io/npm/v/babel-preset-modern-node.svg?style=flat-square)](https://www.npmjs.com/package/babel-preset-modern-node)\n[![npm downloads](https://img.shields.io/npm/dm/babel-preset-modern-node.svg?style=flat-square)](https://www.npmjs.com/package/babel-preset-modern-node)\n\n# Deprecated - No longer maintained\n\nMy focus has left the node ecosystem and also the awesome [babel-team][] \ncame up with [babel-preset-env][]. So please do yourself a favor and \nswitch over to [babel-preset-env][]. \n\nThank you for your patience and using this module in the first place!\n\n## Installation\n\n    npm install --save-dev babel-preset-modern-node\n\n## Usage\n\nSimply use this preset as any other. Following options can be passed to\nconfigure `babel-preset-modern-node` to your taste:\n\n- Set loose mode optimizations (**default:** `false`)\n    - `loose = true|false`    \n- Module loader to use (**default:** `commonjs`)\n    - `modules = (false|commonjs|amd|umd|systemjs)`\n- Min node version compatibility (**default:** `process.versions.node`)\n    - `version = \"5.10.2\"`\n\n### Via `.babelrc` (recommended)\n\n```json\n{\n  \"presets\": [\"modern-node\"]\n}\n```\n\nOr:\n\n```json\n{\n  \"presets\": [[\"modern-node\", { \"loose\": true, ... }]]\n}\n```\n\n### Via CLI\n\n    babel script.js --presets modern-node\n\n### Via Node API\n\n```js\nrequire('babel-core').transform('code', {\n  presets: ['modern-node'],\n})\n```\n\nOr:\n\n```js\nrequire('babel-core').transform('code', {\n  presets: [['modern-node', { \"loose\": true, ... }]],\n})\n```\n\n## Compatibility\n\nThis preset currently supports ES2015 and ES2016 support for all minor node\nversions starting at `v0.12`.\n\n### Notes on `Array.includes`\n\nThis preset **does not modify** the global space / prototypes! Due to this we're\nnot able to fully support ES2016's `Array.includes`\n[see here][plugin-array-includes] for more details.\n\n### Special extras\n\n1. If you project contains a `package.json` the super global `__VERSION__`\n   will be set accordingly\n    * See [plugin-version-inline][]\n1. Strict mode will be enabled\n    * See [transform-strict-mode][]\n1. Restricted keywords will always be quoted\n    * `foo.default` becomes `foo[\"default\"]`\n        * See [transform-es3-member-expression-literals][]\n    * `default: \"bar\"` becomes `\"default\": \"bar\"`\n        * See [transform-es3-property-literals][]\n\n  [1]: http://www.2ality.com/2015/11/configuring-babel6.html\n  [babel-preset-modern-node]: https://github.com/michaelcontento/babel-preset-modern-node\n  [plugin-version-inline]: https://www.npmjs.com/package/babel-plugin-version-inline\n  [transform-es3-member-expression-literals]: https://www.npmjs.com/package/babel-plugin-transform-es3-member-expression-literals\n  [transform-es3-property-literals]: https://www.npmjs.com/package/babel-plugin-transform-es3-property-literals\n  [transform-strict-mode]: https://www.npmjs.com/package/babel-plugin-transform-strict-mode\n  [plugin-array-includes]: https://www.npmjs.com/package/babel-plugin-array-includes\n  [babel-preset-env]: https://github.com/babel/babel-preset-env\n  [babel-team]: https://github.com/babel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcontento%2Fbabel-preset-modern-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelcontento%2Fbabel-preset-modern-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcontento%2Fbabel-preset-modern-node/lists"}