Page cover

Addenda

Key Casing in Configuration Files

It is standard practice for command-line interfaces to accept arguments in kebab-case, while idiomatic JavaScript prefers camelCase. As such, Yargs converts from the former to the latter when parsing command-line arguments. By extension, Saffron will also recursively convert the key casing of parsed configuration files to camelCase.

Why "Saffron"?

Cosmiconfig is an amazing space-themed configuration loader. Yargs is a fantastic pirate-themed arguments parser. Saffron is a space pirate in the excellent Firefly series.

Last updated