Skip to content

Commit f627d14

Browse files
committedMay 21, 2023
Document canary
1 parent 36fef58 commit f627d14

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed
 

‎README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@
159159
- [Ow](#ow)
160160
- [Changelog](#changelog)
161161

162-
<!-- **Zod 2 is coming! Follow [@colinhacks](https://twitter.com/colinhacks) to stay updated and discuss the future of Zod.** -->
163-
164162
## Introduction
165163

166164
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
529527
pnpm add zod # pnpm
530528
```
531529

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+
532539
### From `deno.land/x` (Deno)
533540

534541
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:

‎deno/lib/README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@
159159
- [Ow](#ow)
160160
- [Changelog](#changelog)
161161

162-
<!-- **Zod 2 is coming! Follow [@colinhacks](https://twitter.com/colinhacks) to stay updated and discuss the future of Zod.** -->
163-
164162
## Introduction
165163

166164
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
529527
pnpm add zod # pnpm
530528
```
531529

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+
532539
### From `deno.land/x` (Deno)
533540

534541
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

Comments
 (0)
Please sign in to comment.