# indexzero/nconf

Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

Repository: https://github.com/indexzero/nconf
Canonical: https://ross.abutalabs.com/products/nconf
Homepage: https://github.com/indexzero/nconf
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-07-25T21:37:57+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 8, longevity 100
- inputs: {"age_days": 5634, "days_push": 39, "days_rel": 506, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3860, forks 259 (observed 2026-08-28T04:08:27.521961+00:00)

## What it is
nconf is a hierarchical configuration management library for Node.js that merges settings from command-line arguments, environment variables, files, and defaults with priority ordering. It provides a namespaced key-value store with get/set/save operations.

## Use cases
- load app config from env vars and  files
- override config values with command-line arguments
- manage per-environment settings for a node app
- merge multiple configuration sources with priority
- save runtime config changes back to a  file

## When to choose
- you need layered configuration in a Node.js app
- you want CLI args, env vars, and files merged in a defined priority order

## When to avoid
- you need config validation or schema enforcement
- you are not using Node.js
- you prefer modern alternatives like dotenv or convict with typed schemas

## Facets
- artifact type: library
- maturity: maintenance
- function: configuration-management, developer-tools
- domain: developer-tools, backend
- platform: cross-platform
- tags: config, hierarchical-configuration, environment-variables, key-value-store, javascript, nodejs

## Member repositories
- indexzero/nconf (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.521961+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-29T18:25:53.916924+00:00, confidence not recorded.
  - readme: https://github.com/indexzero/nconf (fetched 2026-08-28T04:08:27.521961+00:00, sha 03ce0f8bcdab)
  - homepage: https://github.com/indexzero/nconf (fetched 2026-08-29T09:20:43.397701+00:00, sha bc4a49072392)
- Data as of 2026-08-30T08:39:29.467469+00:00.
