0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/plugins/memory
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
..
src refactor: fetch package endpoint and basic integration fastify (#2750) 2021-12-12 18:00:19 +01:00
test #2606 add prettier plugin sort imports (#2607) 2021-10-29 17:33:05 +02:00
.babelrc
CHANGELOG.md chore: update versions (6-next) (#2597) 2021-10-27 18:16:16 +02:00
jest.config.js
LICENSE refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
package.json chore(deps): update dependency debug to v4.3.3 (#2717) 2021-11-30 10:29:53 +01:00
README.md refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
tsconfig.build.json
tsconfig.json chore: add update-ts-references (#2168) 2021-04-09 17:54:44 +02:00

verdaccio-memory

CircleCI codecov verdaccio (latest) Known Vulnerabilities backers discord MIT node

A memory based storage plugin.

 npm install --global verdaccio-memory

Requirements

verdaccio@3.0.0 or verdaccio@4.x

npm install -g verdaccio

Complete configuration example:

store:
  memory:
    limit: 1000

in config.yaml

If store: is present storage: fallback is being ignored.

storage: /Users/user/.local/share/verdaccio/storage
auth:
  htpasswd:
    file: ./htpasswd
store:
  memory:
    limit: 1000

Disclaimer

This plugin should not be use for production environments. It might be useful for testing or such places as CI where data does not need to be persisted.

License

MIT