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

0.1.0 • Public • Published

quickfig

configuration format normalizer

parse n config types in a single library/application

supported formats

js, json, yaml, toml, xml

optional arguments

  • allowedTypes list of valid types to parse (from supported formats)
  • baseTag the tag to destructure from as your config base
  • pattern the glob pattern to match
  • cleanResponse defaults 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.

examples

Package Sidebar

Install

npm i quickfig

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

39.9 kB

Total Files

15

Last publish

Collaborators

  • abschill