New:Socket for Asana Is Now Available.Learn more →
Get Started

@socketsecurity/registry

Package Overview
Dependencies
Maintainers
2
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/registry

Socket Registry - Core utilities and infrastructure for Socket.dev security tools

latest
Source
npmnpm
Version
2.0.5
Version published
Weekly downloads
8.4K
-28.59%
Maintainers
2
Weekly downloads
 
Created
Source

@socketsecurity/registry

Socket Badge CI

Follow @SocketSecurity Follow @socket.dev on Bluesky

Query Socket Registry manifest data.

Install

pnpm install @socketsecurity/registry

Usage

getManifestData() has three forms. Return type narrows based on arguments.

Look up a single package

import { getManifestData } from '@socketsecurity/registry'

const pkg = getManifestData('npm', 'deep-equal')
// ManifestEntryData | ManifestEntry | undefined
console.log(pkg?.name) // '@socketregistry/deep-equal'
console.log(pkg?.version) // current override version
console.log(pkg?.categories) // ['cleanup']

List all overrides for an ecosystem

Returns the raw [purl, data] tuples — iterate them, don't assume they're a map:

const entries = getManifestData('npm')
// ManifestEntry[] | undefined
for (const [purl, data] of entries ?? []) {
  console.log(purl, data.package, data.version)
}

Get the full manifest

Zero-arg call returns every ecosystem. Useful for cross-ecosystem dashboards:

const manifest = getManifestData()
// Manifest
for (const [eco, entries] of Object.entries(manifest)) {
  console.log(`${eco}: ${entries.length} overrides`)
}

Types

import type {
  CategoryString,
  EcosystemString,
  InteropString,
  Manifest,
  ManifestEntry,
  ManifestEntryData,
  PURLString,
} from '@socketsecurity/registry/types'

License

MIT

Keywords

Socket.dev

FAQs

Package last updated on 27 Jul 2026

Related posts