constants-vault
v1.2.0
Published
NPM package used for shared constants
Downloads
3
Maintainers
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);