mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
ddb42431d1
* build: configure pretter as formatter for most files * chore: reformat code (#1931) * chore: re-format all files * chore: force run quality anaylsis test Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com> Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com> |
||
---|---|---|
.. | ||
_storage | ||
src | ||
tests | ||
.babelrc | ||
.eslintrc.json | ||
CHANGELOG.md | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json |
@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.