{"id":20949644,"url":"https://github.com/bitttttten/verify-nvmrc","last_synced_at":"2025-05-14T03:32:08.835Z","repository":{"id":98421974,"uuid":"397265978","full_name":"bitttttten/verify-nvmrc","owner":"bitttttten","description":"Verifies that the loaded node version matches the closest found .nvmrc file.","archived":false,"fork":false,"pushed_at":"2024-06-25T07:57:00.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-11T13:52:23.399Z","etag":null,"topics":["node","nvmrc","version-check","version-checker","versioning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitttttten.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-08-17T13:23:29.000Z","updated_at":"2024-06-25T07:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"47413f51-a791-4fc3-94da-babdc750a0bc","html_url":"https://github.com/bitttttten/verify-nvmrc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitttttten%2Fverify-nvmrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitttttten%2Fverify-nvmrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitttttten%2Fverify-nvmrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitttttten%2Fverify-nvmrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitttttten","download_url":"https://codeload.github.com/bitttttten/verify-nvmrc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225274533,"owners_count":17448286,"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":["node","nvmrc","version-check","version-checker","versioning"],"created_at":"2024-11-19T00:41:18.787Z","updated_at":"2024-11-19T00:41:19.432Z","avatar_url":"https://github.com/bitttttten.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# verify-nvmrc\n\nScript to help verify that the loaded node version matches what is set in the the closest .nvmrc file.\n\n## Usage\n\nYou can run this script through `npx`.\n\n```sh\nnpx verify-nvmrc\n# Node version is correct\n```\n\n## Options\n\n- `-e, --emoji`\n\nSupports emojis.\n\n- `-v, --verbose`\n\nLogs out where it found the nvmrc file, if one is present. And logs out current node version.\n\n- `-f, --fail`\n\nProcess exits with code 1 if node version mismatch.\n\n```sh\nnpx verify-nvmrc -e -v\n# ℹ️ Current node version v14.15.4\n# ℹ️ Found .nvmrc file with v14.15.4 at /Users/bitttttten/github.com/verify-nvmrc/.nvmrc\n# Node version is correct 🎉\n```\n\n## Caveats\n\nKind of ironically only supports node v12 and above since this script uses ES modules (for now, feel free to open a PR). To run with node v10, you should enable support for ES modules with the `--experimental-modules` flag: `npx verify-nvmrc --experimental-modules`. For node v8 and below, feel free to open a PR until a version of the script has been written that is v8 compatible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitttttten%2Fverify-nvmrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitttttten%2Fverify-nvmrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitttttten%2Fverify-nvmrc/lists"}