verdaccio-local-storage-with-cache-db

Local storage implementation

Usage no npm install needed!

<script type="module">
  import verdaccioLocalStorageWithCacheDb from 'https://cdn.skypack.dev/verdaccio-local-storage-with-cache-db';
</script>

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.

FOSSA Status