Observed since 20 Oct, 22:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Node.js JSON file, dotenv file, process env, and argv sources for Universal Config Engine.
Bounded Node.js source adapters for Universal Config Engine. The package provides JSON file, simple dotenv file, process environment, and argv sources while keeping filesystem and process APIs outside the core package.
npm install @0disoft/universal-config-engine-core @0disoft/universal-config-engine-node
Node.js >=24 and ESM are required.
import { resolveConfig } from "@0disoft/universal-config-engine-core";
import { createProcessEnvSource } from "@0disoft/universal-config-engine-node";
const envSource = createProcessEnvSource({
descriptor: {
id: "env",
kind: "process-env",
priority: 20,
displayName: "environment"
},
env: process.env,
mappings: [
{
externalName: "APP_PORT",
sourceKind: "process-env",
targetPath: ["service", "port"],
parseAs: "number"
}
]
});
const result = resolveConfig({ sources: [envSource] });
console.log(result.config.service.port);
loadJsonFileSource and loadDotenvFileSource enforce byte limits. Set
allowedRootPath to bind file loading to a canonical directory; the loader verifies
the opened file identity before reading it. The dotenv parser is intentionally
simple and does not perform shell expansion.
JSON source locations also have an independent maxLocationBytes budget (default
4 MiB of compact UTF-8 location records). If exceeded, the loader preserves parsed
config values, omits location metadata and returns a
max_location_bytes_exceeded warning. This option does not replace file byte or
structural depth/key limits and is not a total JavaScript heap limit.
Process-env and argv adapters use explicit mappings and bounded entry counts. Strict unmapped-input diagnostics are opt-in.
See the compatibility contract and public API contract.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.1.2Registry latest | 20 Oct 2026 | 2 | |
| 1.1.2-rc.1 | 20 Oct 2026 | 2 | |
| 1.1.1 | 20 Oct 2026 | 2 | |
| 1.1.1-rc.1 | 20 Oct 2026 | 2 | |
| 1.1.0 | 20 Oct 2026 | 2 | |
| 1.1.0-rc.1 | 20 Oct 2026 | 2 | |
| 1.0.0 | 19 Oct 2026 | 2 | |
| 1.0.0-rc.5 | 19 Oct 2026 | 2 | |
| 1.0.0-rc.4 | 11 Aug 2026 | 2 | |
| 1.0.0-rc.3 | 22 Jul 2026 | 2 | |
| 1.0.0-rc.2 | 15 Jul 2026 | 2 | |
| 1.0.0-rc.1 | 14 Jul 2026 | 2 | |
| 0.6.0 | 14 Jul 2026 | 2 | |
| 0.5.0 | 14 Jul 2026 | 2 | |
| 0.4.0 | 11 Jul 2026 | 1 | |
| 0.3.1 | 11 Jul 2026 | 1 | |
| 0.3.0 | 10 Jul 2026 | 1 | |
| 0.2.1 | 10 Jul 2026 | 1 | |
| 0.2.0 | 8 Jul 2026 | 1 | |
| 0.1.2 | 8 Jul 2026 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b825da760ab4015f574a5cd95f99e180eeac557988828e72af246c64fef87894