@nifrajs/env 0.1.0-alpha.1 → 0.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,3 +65,11 @@ pass the request's bindings: `defineEnv(shape, { source: env })`.
|
|
|
65
65
|
|
|
66
66
|
Error messages name the offending variable and the reason — **never its value** (it may be a
|
|
67
67
|
secret). `defineEnv` returns a frozen object, so a validated config can't be mutated downstream.
|
|
68
|
+
|
|
69
|
+
## For AI agents
|
|
70
|
+
|
|
71
|
+
Start with [`LLM.md`](./LLM.md) — this package's contract card (the exports you call + its footguns),
|
|
72
|
+
one cheap read instead of the whole corpus. For the wider framework: the repo's
|
|
73
|
+
[`AGENTS.md`](../../AGENTS.md) is the copy-paste quick reference, and
|
|
74
|
+
[`llms-full.txt`](../../llms-full.txt) is the full machine-readable corpus. Run `nifra check` as the
|
|
75
|
+
done-gate, or `nifra mcp` to give the agent live project tools.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nifrajs/env",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.4",
|
|
4
4
|
"description": "Typed, validated environment variables for nifra — define a schema, get a frozen typed object, fail loud at boot listing every problem. Coercing helpers (number/port/boolean/url/enum) + any Standard Schema. Dependency-free, edge-safe.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bun",
|