0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/core/local-storage
Juan Picado e54ec4b5d0 feat: remove level dependency by lowdb for npm token cli as storage (#2043)
* feat: remove level for token by lowdb

* chore: fix format

* chore: fix config

* chore: add changeset
2021-04-09 17:54:31 +02:00
..
_storage feat: add typescript project references settings (#1933) 2021-04-09 17:54:19 +02:00
src feat: remove level dependency by lowdb for npm token cli as storage (#2043) 2021-04-09 17:54:31 +02:00
tests feat: remove level dependency by lowdb for npm token cli as storage (#2043) 2021-04-09 17:54:31 +02:00
.babelrc feat: relocate core packages (#1906) 2021-04-09 17:54:13 +02:00
.eslintrc.json feat: relocate core packages (#1906) 2021-04-09 17:54:13 +02:00
CHANGELOG.md chore: update versions (alpha) (#1916) 2021-04-09 17:54:28 +02:00
jest.config.js feat: relocate core packages (#1906) 2021-04-09 17:54:13 +02:00
LICENSE feat: relocate core packages (#1906) 2021-04-09 17:54:13 +02:00
package.json feat: remove level dependency by lowdb for npm token cli as storage (#2043) 2021-04-09 17:54:31 +02:00
README.md build: configure prettier as formatter for json, yaml and markdown (#1930) 2021-04-09 17:54:19 +02:00
tsconfig.build.json feat: add typescript project references settings (#1933) 2021-04-09 17:54:19 +02:00
tsconfig.json feat: add typescript project references settings (#1933) 2021-04-09 17:54:19 +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