verdaccio-local-storage-with-cache-db
v9.7.7
Published
Local storage implementation
Downloads
5
Maintainers
Readme
verdaccio-local-storage-with-cache-db
📦 File system storage plugin for verdaccio
same as @verdaccio/local-storage,but it can rebuild database with uplinks caches.and if uplink not contain readme it will try to read it from latest tarball
Useage
store:
local-storage-with-cache-db:
scope:
- "@angular" //db filter for which can add in db
- "" //leaveit bank string will let all cache packages record in db
frequency 60 min
API
LocalDatabase
The main object that handle a JSON database the private packages.
Constructo
new LocalDatabase(config, logger);
- config: A verdaccio configuration instance.
- logger: A logger instance
LocalFS
A class that handle an package instance in the File System
new LocalFS(packageStoragePath, logger);
License
Verdaccio is MIT licensed.