# node-config/node-config

Node.js Application Configuration

Repository: https://github.com/node-config/node-config
Canonical: https://ross.abutalabs.com/products/node-config
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: config, state, deployment, settings, properties, registry
Last push: 2026-08-18T23:45:21+00:00

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

## Adoption (not part of the score)
Stars 6428, forks 510 (observed 2026-08-28T04:09:43.356099+00:00)

## What it is
node-config is a Node.js library that organizes hierarchical application configurations across deployment environments like development, QA, staging, and production. It stores defaults in config files and allows overrides via environment variables, command-line parameters, or external sources.

## Use cases
- manage per-environment settings for a Node.js app
- override config values with environment variables in production
- load JSON or YAML configuration files in Node.js
- share a consistent config interface across npm modules
- separate dev and production database settings
- read nested config values with get and has helpers

## When to choose
- you need hierarchical, environment-aware configuration for a Node.js application
- you want file-based defaults with environment variable and CLI overrides
- you need a lightweight, widely adopted config solution with multi-format support

## When to avoid
- you are not using Node.js
- you need remote dynamic config with a hosted control plane like LaunchDarkly or Consul KV
- you only need simple dotenv-style key-value environment loading

## Facets
- artifact type: library
- maturity: stable
- function: configuration-management, developer-tools
- domain: developer-tools, backend
- platform: cross-platform
- tags: config, environment-variables, hierarchical-config, deployment-environments, npm, devops, nodejs

## Member repositories
- node-config/node-config (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.356099+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-29T17:44:52.980551+00:00, confidence not recorded.
  - readme: https://github.com/node-config/node-config (fetched 2026-08-28T04:09:43.356099+00:00, sha 1ce68827c207)
- Data as of 2026-08-30T08:39:29.467469+00:00.
