@clementine-solutions/jane-io 1.0.4 → 1.0.6
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 +7 -6
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Jane
|
|
1
|
+
# Jane-IO
|
|
2
2
|
|
|
3
3
|
[](https://gitlab.com/clementine-solution/open-source/jane-io/-/commits/main)
|
|
4
4
|
[](https://gitlab.com/clementine-solution/open-source/jane-io/-/commits/main)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
> A clarity-first boundary system for shaping, validating, and transforming data with full introspection and policy control.
|
|
9
9
|
|
|
10
|
-
Jane
|
|
10
|
+
Jane-IO is a TypeScript-first data validation library that emphasizes **explicit design**, **runtime safety**, and **comprehensive observability**. Unlike traditional validators, Jane treats data processing as a multi-stage pipeline with policy-driven decision making.
|
|
11
11
|
|
|
12
12
|
## Key Features
|
|
13
13
|
|
|
@@ -38,9 +38,10 @@ pnpm add @clementine-solutions/jane-io
|
|
|
38
38
|
import { jane } from '@clementine-solutions/jane-io';
|
|
39
39
|
|
|
40
40
|
// Simple validation
|
|
41
|
-
const result = await jane.value(
|
|
42
|
-
.parse("
|
|
43
|
-
.
|
|
41
|
+
const result = await jane.value(37)
|
|
42
|
+
.parse("numeric")
|
|
43
|
+
.integer()
|
|
44
|
+
.min(21)
|
|
44
45
|
.run();
|
|
45
46
|
|
|
46
47
|
if (result.ok) {
|
|
@@ -129,4 +130,4 @@ Jane IO is built with care for the developer experience and runtime safety. Spec
|
|
|
129
130
|
|
|
130
131
|
---
|
|
131
132
|
|
|
132
|
-
**Jane IO** -
|
|
133
|
+
**Jane IO** - Observable data validation with clarity and confidence.
|
package/package.json
CHANGED