Skip to content

Commit

Permalink
Fix link to node in readme (#1255)
Browse files Browse the repository at this point in the history
* Fix link to node in readme

Link to node points to nothing in readme, changed the link.
Also made the table of content name consistent with the section title and made npm lowercase as it should.

* More NPM occurences
  • Loading branch information
BryanAbate committed Jul 17, 2022
1 parent 20a45a2 commit dc83c40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://discord.gg/RcG33DQJdf">Discord</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://www.npmjs.com/package/zod">NPM</a>
<a href="https://www.npmjs.com/package/zod">npm</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/colinhacks/zod/issues/new">Issues</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
Expand All @@ -47,7 +47,7 @@
- [Sponsors](#sponsors)
- [Ecosystem](#ecosystem)
- [Installation](#installation)
- [Node](#node)
- [Node/npm](#Node/npm)
- [Deno](#deno)
- [Basic usage](#basic-usage)
- [Primitives](#primitives)
Expand Down Expand Up @@ -338,7 +338,7 @@ There are a growing number of tools that are built atop or support Zod natively!
}
```

### Node/NPM
### Node/npm

To install Zod v3:

Expand All @@ -350,7 +350,7 @@ pnpm add zod # pnpm

### Deno

Unlike Node, Deno relies on direct URL imports instead of a package manager like NPM. Zod is available on [deno.land/x](deno.land/x). The latest version can be imported like so:
Unlike Node, Deno relies on direct URL imports instead of a package manager like npm. Zod is available on [deno.land/x](deno.land/x). The latest version can be imported like so:

```ts
import { z } from "https://deno.land/x/zod/mod.ts";
Expand All @@ -362,7 +362,7 @@ You can also specify a particular version:
import { z } from from "https://deno.land/x/zod@v3.16.1/mod.ts"
```

> The rest of this README assumes you are using NPM and importing directly from the `"zod"` package.
> The rest of this README assumes you are using npm and importing directly from the `"zod"` package.
## Basic usage

Expand Down

0 comments on commit dc83c40

Please sign in to comment.