0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00
verdaccio/packages/plugins/local-storage
2024-04-25 16:20:17 +02:00
..
_storage
src fix: reduce log to info if database is not found (#4595) 2024-04-25 16:20:17 +02:00
tests refactor: search package (#4489) 2024-03-10 17:58:39 +01:00
.babelrc
.eslintrc.json
CHANGELOG.md chore: update versions (next-7) (#4553) 2024-03-23 20:53:44 +01:00
jest.config.js feat!: replace deprecated request dependency by got (#3100) 2022-07-29 20:51:45 +02:00
LICENSE
package.json chore: update versions (next-7) (#4553) 2024-03-23 20:53:44 +01:00
README.md
tsconfig.build.json
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