Skip to content

SocketDev/socket-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,502 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@socketregistry

Socket Badge CI Coverage

Follow @SocketSecurity Follow @socket.dev on Bluesky

Optimized package overrides for Socket Optimize.

npx 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

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 icon, indicating that this package has built-in type declarations 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

About

Optimized package overrides for Socket Optimize

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors