{"id":18074270,"url":"https://github.com/cijiugechu/nodejs-semver","last_synced_at":"2025-04-12T05:52:32.910Z","repository":{"id":192809512,"uuid":"687476958","full_name":"cijiugechu/nodejs-semver","owner":"cijiugechu","description":"A node-semver compliant semver implementation in Rust.","archived":false,"fork":false,"pushed_at":"2024-12-26T08:45:59.000Z","size":124,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:52:23.348Z","etag":null,"topics":["javascript","nodejs","npm","parser","rust","semantic-versioning","semver"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cijiugechu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-09-05T12:40:52.000Z","updated_at":"2025-03-30T00:51:20.000Z","dependencies_parsed_at":"2023-12-19T06:37:04.145Z","dependency_job_id":"d1492593-a6eb-4865-9c78-fa23ef26a121","html_url":"https://github.com/cijiugechu/nodejs-semver","commit_stats":null,"previous_names":["cijiugechu/nodejs-semver"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cijiugechu%2Fnodejs-semver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cijiugechu%2Fnodejs-semver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cijiugechu%2Fnodejs-semver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cijiugechu%2Fnodejs-semver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cijiugechu","download_url":"https://codeload.github.com/cijiugechu/nodejs-semver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525156,"owners_count":21118616,"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":["javascript","nodejs","npm","parser","rust","semantic-versioning","semver"],"created_at":"2024-10-31T10:11:57.901Z","updated_at":"2025-04-12T05:52:32.886Z","avatar_url":"https://github.com/cijiugechu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `nodejs-semver`\n\n[![Cargo](https://img.shields.io/crates/v/nodejs-semver.svg)](https://crates.io/crates/nodejs-semver)\n[![Documentation](https://docs.rs/nodejs-semver/badge.svg)](https://docs.rs/nodejs-semver)\n\nThis crate is a pure Rust-based implementation of JavaScript's\n[`node-semver`](https://npm.im/semver). That is, it's designed to be\ncompatible with Node/NPM's particular flavor of semver (which the [`semver`\ncrate](https://crates.io/crates/semver) is not).\n\nIt is designed for Rust programs and libraries meant for JavaScript tooling,\nand does its best to stay compatible with `node-semver`.\n\n\u003e This project has been forked from [node-semver](https://github.com/felipesere/node-semver-rs) since September of 2023, but a lot has changed; For more details, see [Changelog](https://github.com/cijiugechu/nodejs-semver/blob/main/CHANGELOG.md).\n\n## Usage\n\n`nodejs-semver` includes two main types: [Version] and [Range]. See [the\ndocumentation](https://docs.rs/nodejs-semver) for more details.:\n\n```rust\nuse nodejs_semver::{Range, Version};\n\nlet version: Version = \"1.2.3\".parse().unwrap();\nlet range: Range = \"^1.2\".parse().unwrap();\n\nassert!(version.satisfies(\u0026range));\n```\n\n## Optional Features\n\nThe following are a list of [Cargo features](https://doc.rust-lang.org/stable/cargo/reference/features.html#the-features-section) that can be enabled:\n\n- **serde**: Provides serialization and deserialization for [Version] and [Range]. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcijiugechu%2Fnodejs-semver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcijiugechu%2Fnodejs-semver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcijiugechu%2Fnodejs-semver/lists"}