Skip to content

YMC-GitHub/js-lib-config-engine

Repository files navigation

config-engine

desc

create,update,read,delete and merge config for js

how to use for production?

install

#npm install config-engine --save-dev
npm install https://github.com/YMC-GitHub/js-lib-config-engineds.git --save-dev

config

const state = {}

usage

import He from 'config-engine'
He.config({}).merge(state).create(key,val).update(key,val).delete(key,val).read(key)

how to use for developer?

install

#get the code
git clone https://github.com/ymc-github/js-lib-config-engine.git
#get his dep
npm install

usage

#dev
npm run dev

#build
npm run build

#release
npm run release

#lint
npm run lint
npm run lint:no-fix

#format
npm run beautify

#test
npm run test
npm run test:unit
npm run test:coverage

Author

yemiancheng ymc.github@gmail.com

License

MIT

About

create,update,read,delete and merge config for ymc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published