0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
verdaccio/packages/plugins/local-storage
Juan Picado 64cfedb805
chore(website): add api section (#3424)
* chore: add api section

* chore: fix build

* Update website.yml

* chore: improve types plugin

clean up others stuff

* Update crowdin.yaml

* clean up
2022-10-10 08:00:09 +02:00
..
_storage
src chore(website): add api section (#3424) 2022-10-10 08:00:09 +02:00
tests feat(plugin): improve plugin loader (#3370) 2022-09-16 08:02:08 +02:00
.babelrc
.eslintrc.json
CHANGELOG.md chore: update versions (6-next) (#3362) 2022-09-28 07:39:59 +02:00
jest.config.js feat!: replace deprecated request dependency by got (#3100) 2022-07-29 20:51:45 +02:00
LICENSE
package.json fix(deps): update all core dependencies (master) (#3406) 2022-09-29 18:37:39 +02:00
README.md
tsconfig.build.json
tsconfig.json chore(website): add api section (#3424) 2022-10-10 08:00:09 +02:00

@verdaccio/local-storage

📦 File system storage plugin for verdaccio

verdaccio (latest) CircleCI Known Vulnerabilities codecov backers discord MIT node

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.

FOSSA Status