{"id":19372126,"url":"https://github.com/nodenv/nodenv-default-packages","last_synced_at":"2025-10-05T23:53:51.149Z","repository":{"id":29648950,"uuid":"33190608","full_name":"nodenv/nodenv-default-packages","owner":"nodenv","description":"A nodenv plugin that installs a set of npm packages every time you install a new version of Node.","archived":false,"fork":false,"pushed_at":"2025-09-08T14:39:06.000Z","size":201,"stargazers_count":39,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-09T22:51:53.357Z","etag":null,"topics":["nodejs","nodenv","nodenv-plugin","npm-packages"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/nodenv.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-31T14:39:55.000Z","updated_at":"2025-09-08T14:38:56.000Z","dependencies_parsed_at":"2024-05-29T16:32:03.582Z","dependency_job_id":"4bb7b40a-e3ab-4344-bbfd-8bfdb9de68b7","html_url":"https://github.com/nodenv/nodenv-default-packages","commit_stats":{"total_commits":121,"total_committers":12,"mean_commits":"10.083333333333334","dds":0.3223140495867769,"last_synced_commit":"82a43a757c967d98a0ef9fe5b5543b37f93d8769"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nodenv/nodenv-default-packages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnodenv-default-packages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnodenv-default-packages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnodenv-default-packages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnodenv-default-packages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodenv","download_url":"https://codeload.github.com/nodenv/nodenv-default-packages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnodenv-default-packages/sbom","scorecard":{"id":224652,"data":{"date":"2025-08-17T01:39:16Z","repo":{"name":"github.com/nodenv/nodenv-default-packages","commit":"6db13819de187f4847fd253cd714d643d7d62885"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7.7,"checks":[{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:8","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/sync-default-branch.yml:9","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:13","Info: jobLevel 'packages' permission set to 'read': .github/workflows/test.yml:14","Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/test.yml:16","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/test.yml:17","Info: found token with 'none' permissions: .github/workflows/release.yml:1","Info: found token with 'none' permissions: .github/workflows/sync-default-branch.yml:1","Info: found token with 'none' permissions: .github/workflows/test.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (29) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found linked content: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found text in security policy: github.com/nodenv/.github/docs/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: 'up-to-date branches' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Contributors","score":10,"reason":"project has 10 contributing companies or organizations","details":["Info: found contributions from: 3AMproductions, AssuredLabor, bats-core, linemanjs, nodejs, nodenv, palantir, pickle-robot, rbenv, testdouble"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"9 out of 9 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-17T03:25:50.762Z","repository_id":29648950,"created_at":"2025-08-17T03:25:50.762Z","updated_at":"2025-08-17T03:25:50.762Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278537765,"owners_count":26003249,"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-10-05T02:00:06.059Z","response_time":54,"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":["nodejs","nodenv","nodenv-plugin","npm-packages"],"created_at":"2024-11-10T08:21:43.084Z","updated_at":"2025-10-05T23:53:51.143Z","avatar_url":"https://github.com/nodenv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodenv-default-packages\n\nA [nodenv][] plugin that installs a set of npm packages every time you install a new version of Node.\n\n[![Tests](https://img.shields.io/github/actions/workflow/status/nodenv/nodenv-default-packages/test.yml?label=tests\u0026logo=github)](https://github.com/nodenv/nodenv-default-packages/actions/workflows/test.yml)\n[![Latest GitHub Release](https://img.shields.io/github/v/release/nodenv/nodenv-default-packages?label=github\u0026logo=github\u0026sort=semver)](https://github.com/nodenv/nodenv-default-packages/releases/latest)\n[![Latest Homebrew Release](\u003chttps://img.shields.io/badge/dynamic/regex?label=homebrew-nodenv\u0026logo=homebrew\u0026logoColor=white\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Fnodenv%2Fhomebrew-nodenv%2Frefs%2Fheads%2Fmain%2FFormula%2Fnodenv-default-packages.rb\u0026search=archive%2Frefs%2Ftags%2Fv(%3F%3Cversion%3E%5Cd%2B.*).tar.gz\u0026replace=v%24%3Cversion%3E\u003e)](https://github.com/nodenv/homebrew-nodenv/blob/main/Formula/nodenv-default-packages.rb)\n[![Latest npm Release](https://img.shields.io/npm/v/@nodenv/nodenv-default-packages?logo=npm\u0026logoColor=white)](https://www.npmjs.com/package/@nodenv/nodenv-default-packages/v/latest)\n\nThis nodenv plugin hooks into the `nodenv install` command to automatically install `npm` packages every time you install a new version of Node.\nIt requires the `node-build` plugin to be installed.\n\nForked from the excellent [`rbenv-default-gems`][rbenv-default-gems] plugin from [sstephenson][sstephenson].\n\n\u003c!-- toc --\u003e\n\n- [Installation](#installation)\n  - [Installing as a nodenv plugin](#installing-as-a-nodenv-plugin)\n  - [Installing with Homebrew (for macOS users)](#installing-with-homebrew-for-macos-users)\n- [Usage](#usage)\n  - [default-packages Files](#default-packages-files)\n  - [Updating Default Packages](#updating-default-packages)\n- [Credits](#credits)\n\n\u003c!-- tocstop --\u003e\n\n## Installation\n\n### Installing as a nodenv plugin\n\nMake sure you have the latest nodenv and node-build versions, then run:\n\n```sh\ngit clone https://github.com/nodenv/nodenv-default-packages.git $(nodenv root)/plugins/nodenv-default-packages\n```\n\n### Installing with Homebrew (for macOS users)\n\nMacOS users can install nodenv-default-packages with the [Homebrew](http://brew.sh) package manager.\n\n_This is the recommended method of installation if you installed nodenv with Homebrew._\n\n```sh\nbrew install nodenv/nodenv/nodenv-default-packages\n```\n\nOr, if you would like to install the latest development release:\n\n```sh\nbrew install --HEAD nodenv/nodenv/nodenv-default-packages\n```\n\n## Usage\n\nnodenv-default-packages automatically installs the packages listed in the [default-packages file(s)](#default-packages-files) file every time you successfully install a new version of Node with `nodenv install`.\n\nSpecify packages in `default-packages` by name, one per line.\nYou may optionally specify a SemVer version spec after the name. For example:\n\n```txt\ngrunt-cli\njshint ~2.6.3\ncsslint \u003e= 0.9.0 \u003c 0.10.0\n```\n\nEmpty lines and lines beginning with a `#` are ignored.\n\n### default-packages Files\n\nnodenv-default-packages reads from `$(nodenv root)/default-packages` as well as `nodenv/default-packages` under all [XDG config directories][xdg].\nThe XDG config directories searched are `$XDG_CONFIG_HOME` (`$HOME/.config` if unset/empty) and all colon-separated `$XDG_CONFIG_DIRS` (`/etc/xdg` if unset/empty).\n\n### Updating Default Packages\n\nif you update your `$(nodenv root)/default-packages` and want to refresh some or all of your existing node installations you can use commands like this:\n\n```sh\nnodenv default-packages install 8.8.1   # Reinstall default packages on Node version 8.8.1\n```\n\n```sh\nnodenv default-packages install --all   # Reinstall default packages on _all_ installed Node versions\n```\n\n\u003e [!NOTE]\n\u003e This may take some time.\n\n## Credits\n\nForked from [Sam Stephenson][sstephenson]'s [rbenv-default-gems][] by [Josh Hagins][jawshooah] and modified for [nodenv][].\n\n[sstephenson]: https://github.com/sstephenson\n[rbenv-default-gems]: https://github.com/rbenv/rbenv-default-gems\n[jawshooah]: https://github.com/jawshooah\n[nodenv]: https://github.com/nodenv/nodenv\n[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnodenv-default-packages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodenv%2Fnodenv-default-packages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnodenv-default-packages/lists"}