{"id":17736660,"url":"https://github.com/parro-it/semver-first-satisfied","last_synced_at":"2025-03-31T19:17:15.480Z","repository":{"id":66074160,"uuid":"50139908","full_name":"parro-it/semver-first-satisfied","owner":"parro-it","description":"Find minimum in an array of version that satisfies a semver range.","archived":false,"fork":false,"pushed_at":"2016-01-29T14:00:49.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-02T15:07:17.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/parro-it.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":"2016-01-21T22:05:45.000Z","updated_at":"2019-07-15T20:59:05.000Z","dependencies_parsed_at":"2023-03-20T13:49:50.719Z","dependency_job_id":null,"html_url":"https://github.com/parro-it/semver-first-satisfied","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fsemver-first-satisfied","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fsemver-first-satisfied/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fsemver-first-satisfied/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fsemver-first-satisfied/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parro-it","download_url":"https://codeload.github.com/parro-it/semver-first-satisfied/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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-26T00:23:57.574Z","updated_at":"2025-03-31T19:17:15.459Z","avatar_url":"https://github.com/parro-it.png","language":"JavaScript","funding_links":[],"categories":["模块","Modules"],"sub_categories":["Semver"],"readme":"# semver-first-satisfied\n\n\u003e Find minimum in an array of version that satisfies a semver range.\n\n\u003e Return the version string or null if no version in the arrya satisfy given range.\n\n[![Travis Build Status](https://img.shields.io/travis/parro-it/semver-first-satisfied.svg)](http://travis-ci.org/parro-it/semver-first-satisfied)\n[![NPM module](https://img.shields.io/npm/v/semver-first-satisfied.svg)](https://npmjs.org/package/semver-first-satisfied)\n[![NPM downloads](https://img.shields.io/npm/dt/semver-first-satisfied.svg)](https://npmjs.org/package/semver-first-satisfied)\n\n## Installation\n\n```bash\nnpm install --save semver-first-satisfied\n```\n\n## Usage\n\n```javascript\n  const firstSatisfied = require('semver-first-satisfied');\n  console.log(firstSatisfied('^1.1.0', ['0.5.0', '1.1.4', '1.2.3', '1.1.1']));\n```\n\u003e '1.1.1'\n\n## License\n\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 parro-it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fsemver-first-satisfied","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparro-it%2Fsemver-first-satisfied","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fsemver-first-satisfied/lists"}