GitHub - SocketDev/socket-registry: Optimized package overrides for Socket Optimize
@socketregistry
Optimized package overrides for Socket Optimize.
Why this repo exists
@socketregistry is the monorepo behind Socket Optimize — a curated set of drop-in npm package replacements that reduce dependencies, modernize APIs, improve performance, and patch known CVEs without breaking compatibility. Every override passes the original package's own test suite, ships with TypeScript types, and stays MIT-compatible. The registry exists so socket optimize has something authoritative to swap in.
Install
Install the Socket CLI globally, then run it inside any project:
# pnpm (recommended) pnpm add -g socket # npm npm install -g socket # yarn yarn global add socket
Usage
From your project root:
socket optimize analyzes your dependencies and suggests optimized replacements from the Socket Registry.
What are package overrides?
Package overrides are improved versions of existing npm packages:
Original Package Socket Override
↓ ↓
Cleanup ✨ → Reduce dependencies, use built-ins
Levelup 🧩 → Add features, modern APIs
Speedup ⚡ → Optimize performance
Tuneup 🔧 → Fix CVEs, maintain compatibility
Quality standards
All overrides in this registry:
- Pass original package tests to maintain compatibility 💯
- Work seamlessly with CommonJS and ESM
- Retain original licenses and are MIT compatible
- Include
TypeScript definitions
- Support current and LTS Node versions
Development
Contributor commands
Create a new override in three steps:
Step 1 Step 2 Step 3
Install → Generate → Complete
↓ ↓ ↓
pnpm install make-npm-override Fill TODOs + Test
License
MIT
