0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/plugins/local-storage
Juan Picado b8554c8935
refactor: promisfy packages (#2767)
* refactor: better performance and structure for get package

refactor file-locking promise taste

refactor updatePackageNext method

update lock file

apply missing interfaces

add version method

fix lint

fix test

chore: remove promisify

refactor publish progress

* migrate methods utilities publish

* Update index.d.ts

* restore publish
2022-02-20 18:39:38 +01:00
..
_storage
src refactor: promisfy packages (#2767) 2022-02-20 18:39:38 +01:00
tests #2606 add prettier plugin sort imports (#2607) 2021-10-29 17:33:05 +02:00
.babelrc
.eslintrc.json
CHANGELOG.md chore: update versions (6-next) (#2648) 2021-12-15 19:02:26 +01:00
jest.config.js
LICENSE
package.json fix(deps): update all non-major core dependencies (#2910) 2022-01-18 08:35:07 +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