{"id":16644196,"url":"https://github.com/75lb/node-version-matches","last_synced_at":"2025-06-10T16:04:38.887Z","repository":{"id":57311802,"uuid":"138907049","full_name":"75lb/node-version-matches","owner":"75lb","description":"Returns true if the current node version matches the given semver expression.","archived":false,"fork":false,"pushed_at":"2021-05-19T09:17:48.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:31:56.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/75lb.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}},"created_at":"2018-06-27T16:32:21.000Z","updated_at":"2021-05-19T09:17:49.000Z","dependencies_parsed_at":"2022-09-17T22:21:42.572Z","dependency_job_id":null,"html_url":"https://github.com/75lb/node-version-matches","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"335e5211d20eca3e57265ed7a58cff918fa2d0a0"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/75lb%2Fnode-version-matches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/75lb%2Fnode-version-matches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/75lb%2Fnode-version-matches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/75lb%2Fnode-version-matches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/75lb","download_url":"https://codeload.github.com/75lb/node-version-matches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238961351,"owners_count":19559471,"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-10-12T08:10:45.354Z","updated_at":"2025-02-15T07:32:56.412Z","avatar_url":"https://github.com/75lb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![view on npm](https://badgen.net/npm/v/node-version-matches)](https://www.npmjs.org/package/node-version-matches)\n[![npm module downloads](https://badgen.net/npm/dt/node-version-matches)](https://www.npmjs.org/package/node-version-matches)\n[![Build Status](https://travis-ci.org/75lb/node-version-matches.svg?branch=master)](https://travis-ci.org/75lb/node-version-matches)\n[![Coverage Status](https://coveralls.io/repos/github/75lb/node-version-matches/badge.svg)](https://coveralls.io/github/75lb/node-version-matches)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# node-version-matches\n\nReturns true if the current node version matches the given semver expression.\n\n```js\nimport nodeVersionMatches from 'node-version-matches'\n\n// assuming we're using node version 10\nconsole.log(nodeVersionMatches('\u003e=7.6.0'))\n// true\n\nconsole.log(nodeVersionMatches('\u003c7.6.0'))\n// false\n\n// optional: pass in a specific node version as the second arg.\nconsole.log(nodeVersionMatches('\u003c7.6.0', 'v4.0.0'))\n// true\n```\n\n```\n$ npm install node-version-matches\n```\n\n* * *\n\n\u0026copy; 2018-21 Lloyd Brookes \\\u003c75pound@gmail.com\\\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F75lb%2Fnode-version-matches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F75lb%2Fnode-version-matches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F75lb%2Fnode-version-matches/lists"}