verdaccio-memory
Version:
Storage implementation in memory
55 lines (39 loc) • 1.77 kB
Markdown
# verdaccio-memory
[](https://circleci.com/gh/ayusharma/verdaccio-memory)
[](https://codecov.io/gh/verdaccio/verdaccio-memory)
[](https://www.npmjs.com/package/verdaccio-memory)
[](https://snyk.io/test/github/verdaccio/verdaccio-memory?targetFile=package.json)
[](https://opencollective.com/verdaccio)
[](http://chat.verdaccio.org/)

[](https://www.npmjs.com/package/verdaccio-memory)
A memory based **storage plugin**.
```
npm install --global verdaccio-memory
```
### Requirements
> `verdaccio@3.0.0`, `verdaccio@4.x`, `verdaccio@5.x`
```
npm install -g verdaccio
```
Complete configuration example:
```yaml
store:
memory:
limit: 1000
```
in `config.yaml`
If `store:` is present `storage:` fallback is being ignored.
```yaml
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](http://www.opensource.org/licenses/mit-license.php)