cosmiconfig
www.yaml.org
Our great sponsors
cosmiconfig | www.yaml.org | |
---|---|---|
5 | 27 | |
3,835 | 317 | |
1.3% | 1.6% | |
8.3 | 0.0 | |
2 months ago | 4 months ago | |
TypeScript | HTML | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cosmiconfig
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
-
Moving all config files to a config folder in React?
I've heard of cosmicconfig, which I think allows you to put most of your config files in a single .config folder. I've never used it though.
-
Create a Node.js command-line library with NRWL NX workspace
There is a fantastic library davidtheclark/cosmiconfig: Find and load configuration from a package.json property, rc file, or CommonJS module that does all the tedious work for you.
-
Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
info on XDG: [the XDG spec](https://standards.freedesktop.org/basedir-spec/basedir-spec-...)
tools that respect XDG, for fellow JS CLI developers:
- https://github.com/davidtheclark/cosmiconfig Find and load configuration from a package.json property, rc file, or CommonJS module. [Check `searchPaths` to implement XDG spec compliance.](https://github.com/davidtheclark/cosmiconfig/issues/152)
- Sindre's libraries use [`env-paths`](https://github.com/sindresorhus/env-paths#pathsconfig) to get paths compliant with this.
- https://github.com/sindresorhus/conf simple config storing (maybe try [conf-cli](https://github.com/natzcam/conf-cli) to manipulate if needed) the successor to [configstore](https://github.com/sindresorhus/conf#how-is-this-different-f...)
- https://github.com/jonschlinkert/data-store conf like datastore but in the shclinkerverse
-
A Node.js configuration provider reading files, environment and arguments
cosmiconfig - Reads configuration from a file. It searches for many file types and file names, and even supports defining config in the package.json file. Very customizable, it's an awesome library very flexible both for the app developer and for the app user.
www.yaml.org
-
Docker compose, orchestrating and automating services
First of all, create a file in the root project directories called compose.yaml. YAML is a text format that uses indentation to specify dependencies between configuration options. Be aware that incorrect indentation will cause problems with executing commands properly.
-
Kubernetes Through the Developer's Perspective
Most commonly written in YAML, these files are large and complex to read and understand. And being written in YAML comes with its challenges (and quirks) since it is an additional programming language that devs need to learn.
- Yaml.org Has Gone Away
- YAML's homepage is displayed in YAML
-
whatDoesTheGStandFor
YAML Ain't a Markup Language
-
A View on Functional Software Architecture
Note, that this file is a Markdown and YAML file at the same time, and as such human- and machine-readable, if the fields are filled carefully.
-
Exploring the code behind Docusaurus
Front matter is a bit of text at the start of a file (YAML to be exact) that is placed between two ---
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
- That's a Lot of YAML
-
Official Stormgate Gameplay Reveal AMA Thread with Frost Giant Studios
Personally, I'd love to see them using a standard file format like TOML or YAML so that they're easy to parse and work with using already-existing tools.
What are some alternatives?
main - Node.js mock server running live, interactive mocks in place of real APIs
yj - CLI - Convert between YAML, TOML, JSON, and HCL. Preserves map order.
Commander.js - node.js command-line interfaces made easy
helm-charts - Helm charts for New Relic applications
data-store - Easily get, set and persist config data. Fast. Supports dot-notation in keys. No dependencies.
json2jsii - Generates jsii-compatible structs from JSON schemas
conf-cli - simple cli for configuration and key/value's + oclif plugin for configuration
config - Helps you find, load, combine, autofill and validate configuration values of any kind
honeysql - Turn Clojure data structures into SQL
misc - Experiment on maintaining a multi-project monorepository
uniconfig - Yet another one config processor. Weird. Slow. Our own.