Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.
/ local-storage Public archive

📦 File system storage plugin for verdaccio (built-in)

License

Notifications You must be signed in to change notification settings

verdaccio/local-storage

Repository files navigation

Deprecated repository

This repository has been moved to a monorepo you can find in verdaccio/monorepo. This package is located in plugins/local-storage folder


@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