@nudojs/env 0.4.2-beta.0 → 0.4.3

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.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @nudojs/env
2
+
3
+ Built-in ES, Web, and Node.js API environments for the [Nudo](https://github.com/nudojs/nudo) type inference engine.
4
+
5
+ ## What is Nudo?
6
+
7
+ Nudo is a type inference engine for JavaScript. The type system is Abs (`shape × term × pred × conf`); production analysis is Abs-native via abstract interpretation — no TypeScript, no build step.
8
+
9
+ ## This package
10
+
11
+ `@nudojs/env` supplies the standard-library Abs environments selected by the `/// @nudo:env` directive (`es` / `web` / `node`):
12
+
13
+ | Subpath | Face |
14
+ |---|---|
15
+ | `@nudojs/env/es` | ECMAScript built-ins (Array, String, Math, …) |
16
+ | `@nudojs/env/web` | Web platform APIs (fetch, URL, Storage, …) |
17
+ | `@nudojs/env/node` | Node.js APIs (fs, path, process, …) |
18
+
19
+ Notes:
20
+
21
+ - Env fills **API signatures** so analysis can resolve built-in calls. It **never replaces mocks** — use `@nudo:mock` / `@nudo:mock-module` for project-specific stubs and external packages.
22
+ - Leaf-clean residual `any` (formats still mentioning unknown/any) is tracked in [`docs/reports/env-coverage-baseline.md`](../../docs/reports/env-coverage-baseline.md). Coverage numbers are informational, not a soundness gate.
23
+ - Handwritten env wins over harvested `@types` fill on overlapping modules/exports (see `@nudojs/harvester`).
24
+
25
+ ## Install
26
+
27
+ ```bash
28
+ npm install @nudojs/env
29
+ ```
30
+
31
+ ## License
32
+
33
+ [MIT](https://github.com/nudojs/nudo/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nudojs/env",
3
- "version": "0.4.2-beta.0",
3
+ "version": "0.4.3",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  "registry": "https://registry.npmjs.org"
36
36
  },
37
37
  "dependencies": {
38
- "@nudojs/core": "3.0.0-beta.0"
38
+ "@nudojs/core": "1.1.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup src/es.ts src/web.ts src/node.ts --format esm --dts"