config-cats
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i config-cats

Weekly Downloads

3

Version

0.1.2

License

MIT

Last publish

Collaborators

  • oliveruv