Skip to content

Commit 0b5ef4f

Browse files
authored
docs: use npm install alias; remove redundant --save arg
See fastify/fastify#3875
1 parent a329c00 commit 0b5ef4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Under the hood [node-postgres](https://github.com/brianc/node-postgres) is used,
99

1010
## Install
1111
```
12-
npm i pg @fastify/postgres --save
12+
npm i pg @fastify/postgres
1313
```
1414
## Usage
1515
Add it to your project with `register` and you are done!
@@ -267,7 +267,7 @@ In the plugin this works by using the `preHandler` hook to open the transaction,
267267
Install the compiler and typings for pg module:
268268

269269
```shell script
270-
npm install --save-dev typescript @types/pg
270+
npm i -D typescript @types/pg
271271
```
272272

273273
More examples in the [examples/typescript](./examples/typescript) directory.

0 commit comments

Comments
 (0)