@nudojs/core 0.2.0 → 0.3.1

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 ADDED
@@ -0,0 +1,26 @@
1
+ # @nudojs/core
2
+
3
+ Core type value primitives and type system for the [Nudo](https://github.com/nudojs/nudo) inference engine.
4
+
5
+ ## What is Nudo?
6
+
7
+ Nudo is a type inference engine for JavaScript. Instead of a separate type system, it runs your code with symbolic type values via abstract interpretation — no TypeScript, no build step.
8
+
9
+ ## This package
10
+
11
+ `@nudojs/core` provides the foundational type representations and operations:
12
+
13
+ - **Type values** — `TypeValue`, `LiteralValue`, `Refinement`, and the `T` namespace of built-in types
14
+ - **Type operations** — union simplification, subtype checking, narrowing, widening
15
+ - **Operators & dispatch** — binary ops, property access, method calls on type values
16
+ - **Environment** — scoped variable bindings for the abstract interpreter
17
+
18
+ ## Install
19
+
20
+ ```bash
21
+ npm install @nudojs/core
22
+ ```
23
+
24
+ ## License
25
+
26
+ [MIT](https://github.com/nudojs/nudo/blob/main/LICENSE)