config-cats
v0.1.2
Published
Returns a default configuration pojo. Overrides keys with values taken from a json file if an environment variable points to such a file.
Downloads
7
Maintainers
Readme
Typescript library for loading a configuration file, to be run in node. Built JS targets ES6.
- Returns a default configuration pojo.
- Overrides keys with values taken from a json file if an environment variable points to such a file.
- Lets you specify the configuration interface type.
- Can cache result.
See src/example.ts
for usage. Run example with npm run example
.