{"id":14065131,"url":"https://github.com/iamogbz/nvshim","last_synced_at":"2025-10-07T19:53:15.584Z","repository":{"id":35112793,"uuid":"195589711","full_name":"iamogbz/nvshim","owner":"iamogbz","description":"🍄 Automagically use the correct version of node with nvm","archived":false,"fork":false,"pushed_at":"2023-08-31T00:33:22.000Z","size":209,"stargazers_count":24,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T00:30:25.440Z","etag":null,"topics":["n","n-shim","node","node-shim","nvm","nvm-shim","shell","shim"],"latest_commit_sha":null,"homepage":"https://ogbizi.com/nvshim/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamogbz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-06T22:56:45.000Z","updated_at":"2025-08-07T19:52:30.000Z","dependencies_parsed_at":"2024-05-27T23:18:32.384Z","dependency_job_id":"3e07d6a7-cbf7-4554-90a6-16bbf271fa17","html_url":"https://github.com/iamogbz/nvshim","commit_stats":{"total_commits":216,"total_committers":6,"mean_commits":36.0,"dds":0.6342592592592593,"last_synced_commit":"35b39b54c5afe0e6d5309383b3a0b566dc039250"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"iamogbz/oss-boilerplate","purl":"pkg:github/iamogbz/nvshim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamogbz%2Fnvshim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamogbz%2Fnvshim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamogbz%2Fnvshim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamogbz%2Fnvshim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamogbz","download_url":"https://codeload.github.com/iamogbz/nvshim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamogbz%2Fnvshim/sbom","scorecard":{"id":477854,"data":{"date":"2025-08-11","repo":{"name":"github.com/iamogbz/nvshim","commit":"febfbb4c335084b2a43c07ed17c05c20aad797ac"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/13 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":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dependabot.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonapp.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/dependabot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependabot.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/dependabot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/pythonapp.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/iamogbz/nvshim/pythonapp.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2018-100 / GHSA-r38r-qp28-2m63","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 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-19T15:48:51.505Z","repository_id":35112793,"created_at":"2025-08-19T15:48:51.505Z","updated_at":"2025-08-19T15:48:51.505Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278838472,"owners_count":26054721,"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-07T02:00:06.786Z","response_time":59,"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":["n","n-shim","node","node-shim","nvm","nvm-shim","shell","shim"],"created_at":"2024-08-13T07:04:19.243Z","updated_at":"2025-10-07T19:53:15.539Z","avatar_url":"https://github.com/iamogbz.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# NVM Shim\n\n![LOGO](https://i.ibb.co/PZTm9Sr/logo.png)\n\nAutomagically use the correct version of node with [`nvm exec`](https://github.com/nvm-sh/nvm#usage) functionality.\n\n![Build Status](https://github.com/iamogbz/nvshim/workflows/Python%20App/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/iamogbz/nvshim/badge.svg?branch=master)](https://coveralls.io/github/iamogbz/nvshim?branch=master)\n[![Pypi](https://img.shields.io/pypi/v/nvshim)](https://pypi.org/project/nvshim/)\n![Stage](https://img.shields.io/pypi/status/nvshim)\n![Wheel](https://img.shields.io/pypi/wheel/nvshim)\n[![Dependabot badge](https://badgen.net/github/dependabot/iamogbz/nvshim/?icon=dependabot)](https://app.dependabot.com)\n\n\u003e **No more `nvm use`**\n\nThis will use existing [`.nvmrc`](https://github.com/nvm-sh/nvm#nvmrc) file, falling back to the [`nvm alias default`](https://github.com/nvm-sh/nvm#usage-1) version if no config detected.\n\n## Installation\n\n### Pip\n\n```sh\npip install nvshim\n```\n\n### Github\n\n```sh\npip install git+git://github.com/iamogbz/nvshim.git\n```\n\n## Configuration\n\nReads all configuration from the environment.\n\n### [`NVM_DIR`](https://github.com/nvm-sh/nvm#installation-and-update)\n\nRelies on `nvm` being installed and configured correctly.\n\n### `NVSHIM_AUTO_INSTALL`\n\nSet to `1` or `true` to auto install specified version of node if not installed by `nvm`.\n\n### `NVSHIM_VERBOSE`\n\nSet to `1` or `true` to show more information on the shimmed node process.\n\nOtherwise set to `0` or `false` or nothing.\n\n## Caveats\n\n1. To allow the `nvshim` installed `node` shim work in all directories, you'll need to stop sourcing `nvm.sh` in your shell rc i.e. `bash_profile`, `zshrc` etc. \n   - Just comment out the `source /Users/me/.nvm/nvm.sh` in your shell startup script. This is optional and prevents `nvm` from taking control of your shell path on launch.\n   - With `nvm` shimmed, `nvm use` commands do not have any effect on the shell, the `node` version is already always gotten from the config automatically.\n\n1. The scope of this project only shims the `node`, `npm`, `npx` and `nvm` binaries. Any globally installed modules are not automatically shimmed.\n   - It is still easy to run a specific global bin e.g. `npx eslint` will alway run the version of `eslint` installed via the `node` version for the current shell.\n   - Indicate your interest in having this tool shim all binaries installed via node by leaving a comment [here](https://github.com/iamogbz/nvshim/issues/137).\n\n## Contribution\n\nAll forms of contribution welcome, please see [guide](./CONTRIBUTING.md).\n\n```sh\nmake install\n```\n\n```sh\nmake tests a=\"--snapshot-update\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamogbz%2Fnvshim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamogbz%2Fnvshim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamogbz%2Fnvshim/lists"}