1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/core/local-storage
Abraham Schilling ddb42431d1 build: configure prettier as formatter for json, yaml and markdown (#1930)
* 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>
2021-04-09 17:54:19 +02:00
..
_storage build: configure prettier as formatter for json, yaml and markdown (#1930) 2021-04-09 17:54:19 +02:00
src feat: improve workspace and dependencies debug 2021-04-09 17:54:14 +02:00
tests build: configure prettier as formatter for json, yaml and markdown (#1930) 2021-04-09 17:54:19 +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 feat: relocate core packages (#1906) 2021-04-09 17:54:13 +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 chore: restore website build (#1920) 2021-04-09 17:54:17 +02:00
README.md build: configure prettier as formatter for json, yaml and markdown (#1930) 2021-04-09 17:54:19 +02:00
tsconfig.json feat: relocate core packages (#1906) 2021-04-09 17:54:13 +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