@sinclair/typebox 0.34.43 → 0.34.44
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/package.json +1 -1
- package/readme.md +5 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align='center'>
|
|
2
2
|
|
|
3
|
-
<h1>TypeBox
|
|
3
|
+
<h1>TypeBox 0.34.x</h1>
|
|
4
4
|
|
|
5
5
|
<p>Json Schema Type Builder with Static Type Resolution for TypeScript</p>
|
|
6
6
|
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
## Install
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
$ npm install @sinclair/typebox
|
|
24
|
+
$ npm install @sinclair/typebox # TypeBox-Legacy | 0.34.x
|
|
25
|
+
|
|
26
|
+
$ npm install typebox # TypeBox | 1.0.x
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
## Example
|
|
@@ -51,7 +53,7 @@ type T = Static<typeof T> // type T = {
|
|
|
51
53
|
|
|
52
54
|
## Overview
|
|
53
55
|
|
|
54
|
-
> ⚠️ TypeBox versions (pre-1.0) continue active maintenance through 2026 and beyond. This repository services as the OIDC publishing environment for the `@sinclair/typebox` package scope on NPM. For TypeBox versions 1.0 and above, refer to https://github.com/sinclairzx81/typebox
|
|
56
|
+
> ⚠️ TypeBox versions (pre-1.0) will continue active maintenance through 2026 and beyond. This repository services as the OIDC publishing environment for the `@sinclair/typebox` package scope on NPM. For TypeBox versions 1.0 and above, refer to https://github.com/sinclairzx81/typebox
|
|
55
57
|
|
|
56
58
|
TypeBox is a runtime type builder that creates in-memory Json Schema objects that infer as TypeScript types. The schematics produced by this library are designed to match the static type checking rules of the TypeScript compiler. TypeBox offers a unified type that can be statically checked by TypeScript and runtime asserted using standard Json Schema validation.
|
|
57
59
|
|