1.1.2 • Published 7 years ago

load-consul-config v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

usage

const config = require('config');
const path = 'app/default';

const loadConsulConfig = require('load-consul-config');
loadConsulConfig({ config: config, path: path, warning: false});

console.log(config);

waring

  1. only support json format
  2. if current config has no consul config ingnored
  3. no path or config ignored
  4. get from consul server error or no data or the data is not a json format ignored
  5. other questions just have a look at the code. 😀
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago