mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
b56d5cec39
* chore: relocated mock package * refactor: relocate local-storage htpasswd to plugins because they are * chore: format
1.9 KiB
1.9 KiB
@verdaccio/local-storage
📦 File system storage plugin for verdaccio
This package is already built-in in verdaccio
npm install @verdaccio/local-storage
API
LocalDatabase
The main object that handle a JSON database the private packages.
Constructor
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.