# dominictarr/rc

The non-configurable configuration loader for lazy people.

Repository: https://github.com/dominictarr/rc
Canonical: https://ross.abutalabs.com/products/rc
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2022-03-30T18:01:10+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5141, "days_push": 1617, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1022, forks 99 (observed 2026-08-28T04:03:16.033439+00:00)

## What it is
A tiny Node.js configuration loader that merges defaults, config files (JSON or INI), environment variables, and command-line arguments into one object using conventional rc-file lookup locations. It is intentionally non-configurable, requiring only an app name and a defaults object.

## Use cases
- load configuration from rc files in a node cli app
- merge command line args with config files and env vars
- read .apprc style config files with standard lookup paths
- support ini and json config files with comments
- layered configuration with sensible precedence for a nodejs tool

## When to choose
- you want zero-configuration config loading with unix rc-file conventions
- you need a tiny dependency for a CLI tool's settings
- you want config from multiple sources (files, env, argv) merged automatically

## When to avoid
- you need configurable file formats like YAML or TOML
- you need schema validation or typed configuration
- you want full control over lookup paths and precedence rules

## Facets
- artifact type: library
- maturity: maintenance
- function: configuration-management, parser
- domain: developer-tools, backend
- platform: cli, cross-platform
- tags: config-loader, rc-files, ini, json-config, environment-variables, dotfiles, command-line, nodejs, javascript

## Member repositories
- dominictarr/rc (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.033439+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:43.075011+00:00, confidence not recorded.
  - readme: https://github.com/dominictarr/rc (fetched 2026-08-28T04:03:16.033439+00:00, sha 04b689676a1d)
  - registry_npm: https://registry.npmjs.org/rc (fetched 2026-08-29T13:09:00.737394+00:00, sha 14c1abb5272d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
