0.1.0 • Published 3 years ago
quickfig v0.1.0
quickfig

configuration format normalizer
parse n config types in a single library/application
supported formats
js, json, yaml, toml, xml
optional arguments
- allowedTypeslist of valid types to parse (from supported formats)
- baseTagthe tag to destructure from as your config base
- patternthe glob pattern to match
- cleanResponsedefaults to true, and determines if it just returns the config content in the object or the path as well as a key. it will return a list of matching files, with their paths and content in a javascript object, or a single object if only one file is resolved.
0.1.0
3 years ago