Package URL JavaScript Library

JSON →
library 2.0.1 ·javascript
verified May 27, 2026

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.

total hits 12
actors 6 distinct systems
last hit 1d ago Bingbot
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇫🇷 France · 🇺🇸 United States · 🇫🇮 Finland · 🇩🇪 Germany · 🇨🇦 Canada