0.1.0 • Published 8 months ago

altercation v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

altercation

dependencies via madge

This package has some bootstrapping for CLI tools.

Primarily these APIs are:

configurate - code - This takes:

  • yargs-config style configuration
  • A default configuration
  • A dictionary of help text
  • A raw argv array

And produces a configuration object wrapped in a Future (which includes help text and some automatic in-build guardrails)

configFileWithCancel - code This is based on cosmiconfig but is designed to be less opinionated and more easily used in mixed ESM environments. It can walk upwards in a directory while searching for a specific or a generically named config file, and then optionally parse it with a custom parser. It is designed to work with JSON by default but see climate-toml and climate-yaml packages for examples of usage with transformer.

0.1.0

8 months ago

0.0.0

8 years ago