An enhanced and tested zero dependency drop-in replacement of
packageurl-js
complete with TypeScript types.
socket
CLI will automagically ✨
populate
overrides
and resolutions of
your package.json
.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/packageurl-js
to your
package.json
.
{
"overrides": {
"packageurl-js": "npm:@socketregistry/packageurl-js@^1"
},
"resolutions": {
"packageurl-js": "npm:@socketregistry/packageurl-js@^1"
}
}
Install with your favorite package manager.
npm install @socketregistry/packageurl-js
Node >= 18.20.4