0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/packages/plugins/local-storage
Juan Picado a828271d63
refactor: fetch package endpoint and basic integration fastify (#2750)
* refactor: download manifest endpoint and integrate fastify

* fix file not found issue

* add temporary migration method to storage memory

* sanitize fs methods

* restore tests

* chore: restore sanitilize

will do later

* add tests

* add changeset

* lint

* trying something test

* chore: lint

* restore code

* fix e2e

* fix lint
2021-12-12 18:00:19 +01:00
..
_storage
src refactor: fetch package endpoint and basic integration fastify (#2750) 2021-12-12 18:00:19 +01:00
tests #2606 add prettier plugin sort imports (#2607) 2021-10-29 17:33:05 +02:00
.babelrc
.eslintrc.json
CHANGELOG.md
jest.config.js
LICENSE
package.json refactor: fetch package endpoint and basic integration fastify (#2750) 2021-12-12 18:00:19 +01:00
README.md
tsconfig.build.json
tsconfig.json

@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