Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.
/ lvcnf Public archive

A library for live configuration changes.

License

Notifications You must be signed in to change notification settings

zacanger/lvcnf

Repository files navigation

lvcnf

A library for live configuration changes.


Installation

npm i lvcnf

Usage

const Conf = require('lvcnf')

const config = new Conf(initialConfig)

config.get('foo.bar.baz')
config.set('foo.bar.baz.quux', 'whatever')
config.delete('foo.bar')
config.merge(someNewConfigObject) // merges with current config
config.overwrite(someNewConfigObject) // overwrites
config.get() // => all config

License

MIT