Skip to content

Commit

Permalink
Document canary
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed May 21, 2023
1 parent 36fef58 commit f627d14
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions README.md
Expand Up @@ -159,8 +159,6 @@
- [Ow](#ow)
- [Changelog](#changelog)

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

## Introduction

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.
Expand Down Expand Up @@ -529,6 +527,15 @@ bun add zod # bun
pnpm add zod # pnpm
```

Zod also publishes a canary version on every commit. To install the canary:

```sh
npm install zod@canary # npm
yarn add zod@canary # yarn
bun add zod@canary # bun
pnpm add zod@canary # pnpm
```

### From `deno.land/x` (Deno)

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:
Expand Down
11 changes: 9 additions & 2 deletions deno/lib/README.md
Expand Up @@ -159,8 +159,6 @@
- [Ow](#ow)
- [Changelog](#changelog)

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

## Introduction

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.
Expand Down Expand Up @@ -529,6 +527,15 @@ bun add zod # bun
pnpm add zod # pnpm
```

Zod also publishes a canary version on every commit. To install the canary:

```sh
npm install zod@canary # npm
yarn add zod@canary # yarn
bun add zod@canary # bun
pnpm add zod@canary # pnpm
```

### From `deno.land/x` (Deno)

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:
Expand Down

0 comments on commit f627d14

Please sign in to comment.