mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
a828271d63
* refactor: download manifest endpoint and integrate fastify * fix file not found issue * add temporary migration method to storage memory * sanitize fs methods * restore tests * chore: restore sanitilize will do later * add tests * add changeset * lint * trying something test * chore: lint * restore code * fix e2e * fix lint |
||
---|---|---|
.. | ||
_storage | ||
src | ||
tests | ||
.babelrc | ||
.eslintrc.json | ||
CHANGELOG.md | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
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.