Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Stackblitz Turbo Registry Sync

Synchronize NPM data in realtime from the NPM Replicate endpoint into redis for an in-cache of the NPM dataset.

Preconfigured with a whitelist of keys to retain from the NPM dataset, which is enough to do dependency resolution and map out entry points for turbo-resolver. This is done in order to reduce the total memory usage of the dataset.

Given the current configuration, all of the required metadata from NPM fits in ~2.5 gb RAM

Set the REDIS_URL environment variable to point at your redis instance.

$ npm install -g @stackblitz/turbo-registry-sync
$ REDIS_URL=redis://localhost:6379 turbo-registry-sync
Morty Proxy This is a proxified and sanitized view of the page, visit original site.