local-storage
local-storage copied to clipboard
📦 File system storage plugin for verdaccio (built-in)
Deprecated repository
This repository has been moved to a monorepo you can find in verdaccio/monorepo. This package is located in plugins/local-storage
folder
@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.