{"library":"packageurl-js","type":"library","category":null,"description":"The `packageurl-js` library provides a JavaScript implementation for parsing, constructing, and validating Package URLs (purls) according to the official purl specification (https://github.com/package-url/purl-spec). Currently at version 2.0.1, it is a microlibrary focused solely on handling purl strings and objects. It offers a `PackageURL` class for object-oriented manipulation, static methods for string parsing, and helper objects like `PurlComponent` and `PurlType` for component-level validation and normalization. Its primary differentiator is strict adherence to the purl specification, ensuring consistent and correct handling of package identifiers across different ecosystems. Given its nature as a specification implementation, release cadence is typically driven by updates to the purl specification itself or critical bug fixes.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","package","url","typescript"],"install":[{"cmd":"npm install packageurl-js","imports":["import { PackageURL } from 'packageurl-js'","import { PurlComponent } from 'packageurl-js'","import { PurlType } from 'packageurl-js'"]},{"cmd":"yarn add packageurl-js","imports":[]},{"cmd":"pnpm add packageurl-js","imports":[]}],"homepage":null,"github":"https://github.com/package-url/packageurl-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/packageurl-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/packageurl-js/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}