# Install purl with npm

a PURL ( https://tc54.org/purl/ ) parser and serializer. Version 2.1.0 via npm; verified 2026-06-18.

## Install

```sh
sudo av install npm:purl
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g purl
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:purl
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/purl>
- **Version:** 2.1.0
- **Source summary:** a PURL ( https://tc54.org/purl/ ) parser and serializer
- **Homepage:** <https://github.com/ljharb/purl#readme>
- **Repository:** <https://github.com/ljharb/purl>
- **Upstream docs:** <https://github.com/ljharb/purl#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/purl/-/purl-2.1.0.tgz>
- **Issue tracker:** <https://github.com/ljharb/purl/issues>
- **Published:** 2026-01-14T18:36:44.710Z
- **Last updated:** 2026-06-18T18:45:46.470Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- purl (cli)
- purl (alias)

## Dependencies

- npm-package-arg
- pargs

## Build dependencies

- @arethetypeswrong/cli
- @ljharb/eslint-config
- @ljharb/tsconfig
- @types/node
- @types/npm-package-arg
- @types/tape
- auto-changelog
- c8
- eslint
- in-publish
- npmignore
- safe-publish-latest
- tape
- typescript

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepublish
- Bottle: not available

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 2.1.0
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/ljharb/purl
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for purl. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.1.0
- **Version Count:** 7
- **Maintainers:** ljharb
- **Author:** Jordan Harband
- **Publisher:** ljharb
- **Engines:** Node: ^22.21 || ^24.11 || >= 25.2
- **Integrity:** sha512-VaLTxYl+NHMlwANo0uYlH4aDsnzdWfC9Yf7u4jTew7rDLb4DDyIHBkXo+fuXUS5cN6AlqAokTw91p4i9ofHk/Q==
- **Shasum:** 53708f6287ea185943b413839870f742722f42d3
- **Unpacked Size:** 102,829
- **File Count:** 0
- **Created At:** 2012-04-12T07:10:33.668Z
- **Latest Published At:** 2026-01-14T18:36:44.710Z
- **Modified At:** 2026-01-14T18:36:44.820Z

## Other Package-Manager Records

- Debian apt - python3-purl - 1.6-1: normalized package name match | Debian stable package indexes: python3-purl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | URL interrogation and manipulation (Python3 version) | https://codeinthehole.com/writing/purl-immutable-url-objects-for-python/
- Ubuntu apt - python3-purl - 1.6-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-purl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | URL interrogation and manipulation (Python3 version) | https://codeinthehole.com/writing/purl-immutable-url-objects-for-python/
- MacPorts - purl: normalized package name match | MacPorts ports tree: finance/purl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [package-changed](https://www.automicvault.com/pkg/npm/package-changed/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, npm, processing.
- [parse-github-url](https://www.automicvault.com/pkg/npm/parse-github-url/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, processing, url.
- [plantuml-parser](https://www.automicvault.com/pkg/npm/plantuml-parser/) - Local package facts share a topical domain. Shared terms: cli, data, data-processing, parser, processing.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
