@versionzero/schema 1.3.0 → 1.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 +3 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,28 +9,13 @@ A composition-oriented schema system for processing, extracting, and validating
|
|
|
9
9
|
|
|
10
10
|
For full documentation, see <https://docs.v0.net/schema>.
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Installation
|
|
13
13
|
|
|
14
|
-
- Node.js 19+ or any modern browser
|
|
15
|
-
- ESM only
|
|
16
|
-
|
|
17
|
-
## Basic Usage
|
|
18
|
-
|
|
19
|
-
Core schema and value processor availability vary by platform.
|
|
20
|
-
|
|
21
|
-
### Node
|
|
14
|
+
ESM-only; runs on Node.js 19+ or any modern browser.
|
|
22
15
|
```bash
|
|
23
16
|
npm install --save @versionzero/schema
|
|
24
17
|
```
|
|
25
|
-
|
|
26
|
-
### Browsers
|
|
27
|
-
```html
|
|
28
|
-
<script type="module">
|
|
29
|
-
import { Schema, SchemaResolver } from '@versionzero/schema';
|
|
30
|
-
// ...
|
|
31
|
-
</script>
|
|
32
|
-
```
|
|
33
|
-
Works in browsers as raw ESM — no build step required.
|
|
18
|
+
For browser/CDN usage and platform differences, see [Installation](https://docs.v0.net/schema/installation).
|
|
34
19
|
|
|
35
20
|
### Examples
|
|
36
21
|
(Source can be found in the [examples directory](https://github.com/argh/schema/tree/main/examples))
|