Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.43 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.43 KB

@socketregistry/packageurl-js

Socket Badge CI - @socketregistry/packageurl-js Follow @SocketSecurity

An enhanced and tested zero dependency drop-in replacement of packageurl-js complete with TypeScript types.

Installation

Install as a package override

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 as a plain dependency

Install with your favorite package manager.

npm install @socketregistry/packageurl-js

Requirements

Node >= 18.20.4