0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/plugins/memory
renovate[bot] 68bc817479
fix(deps): update dependency debug to v4.4.0 (#5003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 15:15:09 +01:00
..
src chore(website): improve api docs part 2 (#3431) 2022-10-11 23:06:55 +02:00
test vitest migration some packages (#4871) 2024-09-29 12:47:10 +02:00
.babelrc refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
CHANGELOG.md chore: update versions (next-8) (#4999) 2024-12-15 09:43:25 +01:00
LICENSE refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
package.json fix(deps): update dependency debug to v4.4.0 (#5003) 2024-12-15 15:15:09 +01:00
README.md refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
tsconfig.build.json refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
tsconfig.json chore(website): add api section (#3424) 2022-10-10 08:00:09 +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