1.0.5 • Published 2 years ago

@jswork/next-abstract-configuration v1.0.5

Weekly downloads
53
License
MIT
Repository
-
Last release
2 years ago

next-abstract-configuration

Abstract configuration.

version license size download

installation

npm install -S @jswork/next-abstract-configuration

apis

apiparamsdescription
getpathGet value from path
gets-Get all values.
set(path,value)Set value by path.
setsobjectSet multi value by path.
updateojbectSet value and save.
save-Save to path.

usage

import NxAbstractConfiguration from '@jswork/next-abstract-configuration';

// code goes here:
const conf = new NxAbstractConfiguration();
conf.set('name','@jswork/next-abstract-configuration');
conf.get('scirpts.build','gulp');
conf.sets({ name: 'fei', age: 100});
conf.gets();

license

Code released under the MIT license.