You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -159,8 +159,6 @@
159
159
-[Ow](#ow)
160
160
-[Changelog](#changelog)
161
161
162
-
<!-- **Zod 2 is coming! Follow [@colinhacks](https://twitter.com/colinhacks) to stay updated and discuss the future of Zod.** -->
163
-
164
162
## Introduction
165
163
166
164
Zod is a TypeScript-first schema declaration and validation library. I'm using the term "schema" to broadly refer to any data type, from a simple `string` to a complex nested object.
@@ -529,6 +527,15 @@ bun add zod # bun
529
527
pnpm add zod # pnpm
530
528
```
531
529
530
+
Zod also publishes a canary version on every commit. To install the canary:
531
+
532
+
```sh
533
+
npm install zod@canary # npm
534
+
yarn add zod@canary # yarn
535
+
bun add zod@canary # bun
536
+
pnpm add zod@canary # pnpm
537
+
```
538
+
532
539
### From `deno.land/x` (Deno)
533
540
534
541
Unlike Node, Deno relies on direct URL imports instead of a package manager like NPM. Zod is available on [deno.land/x](https://deno.land/x). The latest version can be imported like so:
Copy file name to clipboardexpand all lines: deno/lib/README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -159,8 +159,6 @@
159
159
-[Ow](#ow)
160
160
-[Changelog](#changelog)
161
161
162
-
<!-- **Zod 2 is coming! Follow [@colinhacks](https://twitter.com/colinhacks) to stay updated and discuss the future of Zod.** -->
163
-
164
162
## Introduction
165
163
166
164
Zod is a TypeScript-first schema declaration and validation library. I'm using the term "schema" to broadly refer to any data type, from a simple `string` to a complex nested object.
@@ -529,6 +527,15 @@ bun add zod # bun
529
527
pnpm add zod # pnpm
530
528
```
531
529
530
+
Zod also publishes a canary version on every commit. To install the canary:
531
+
532
+
```sh
533
+
npm install zod@canary # npm
534
+
yarn add zod@canary # yarn
535
+
bun add zod@canary # bun
536
+
pnpm add zod@canary # pnpm
537
+
```
538
+
532
539
### From `deno.land/x` (Deno)
533
540
534
541
Unlike Node, Deno relies on direct URL imports instead of a package manager like NPM. Zod is available on [deno.land/x](https://deno.land/x). The latest version can be imported like so:
0 commit comments