0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/plugins/local-storage
renovate[bot] 68bc817479
fix(deps): update dependency debug to v4.4.0 (#5003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 15:15:09 +01:00
..
_storage chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
src chore: local storage debug messages (#4992) 2024-12-11 19:40:02 +01:00
tests chore(tests): temp folder naming (#4950) 2024-11-16 10:43:12 +01:00
.babelrc chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
.eslintrc.json chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
CHANGELOG.md chore: update versions (next-8) (#4999) 2024-12-15 09:43:25 +01:00
LICENSE chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
package.json fix(deps): update dependency debug to v4.4.0 (#5003) 2024-12-15 15:15:09 +01:00
README.md chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
tsconfig.build.json chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
tsconfig.json refactor logger module (#3592) 2023-02-05 21:00:32 +01: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