# constants-vault

> NPM package used for shared constants

Latest version **1.2.0** (published 2018-06-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install constants-vault
pnpm add constants-vault
yarn add constants-vault
bun add constants-vault
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-06-07 |
| First published | 2018-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | kpajtasev |
| Keywords | javascript, module, node, values, globals, shared values |

## Links

- npm: https://www.npmjs.com/package/constants-vault
- Repository: https://github.com/kristijan-pajtasev/constants-vault
- Homepage: https://github.com/kristijan-pajtasev/constants-vault#readme
- Issues: https://github.com/kristijan-pajtasev/constants-vault/issues
- npm.io page: https://npm.io/package/constants-vault

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2018-06-07
- 1.1.0 — 2018-06-06
- 1.0.1 — 2018-06-05
- 1.0.0 — 2018-06-05
- 0.0.0 — 2018-05-01

## README

# constants-vault
NPM package used for shared constants

## Creating group
```
let vault = require('constants-vault');
vault.addGroup("name", {
    someKey: 'some value'
});
```

## Creating entry in group group
```
let vault = require('constants-vault');
vault.addToGroup(groupName, key, value);
```

## Creating group
```
let vault = require('constants-vault');
let valuesGroup = vault.getGroup(groupName);
```

## Creating group
```
let vault = require('constants-vault');
let value = vault.getGroupEntry(groupName, key);
```

---
_Source: https://npm.io/package/constants-vault · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
