1.0.0 • Published 3 years ago

config-try v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

Config TRY

Unlike other available packages, hose removes ambiguity of usage by providing a way of defining config-variables and their respective sources. Users can define their own parsers and plug it into the hose or use the default parsers to siphon the configurations from the files of their choice and even validate them before using.

The try, by default, provides support for JSON, YAML and .env-type files.


Installation

Using NPM:

$ npm install config-try --save

Usage

Config-try requires a definition file written in JSON or YAML.