Skip to content

Commit

Permalink
docs: add yarn and pnpm install commands (#163)
Browse files Browse the repository at this point in the history
* docs(index.md): add yarn command in index.md

Add yarn install command in the installation section of guide/index.md.

* fix: docs/guide/index.md suggestion

Co-authored-by: Shinigami <chrissi92@hotmail.de>

* docs(readme.md): add yarn/pnpm install commands

Co-authored-by: fncolon <fncolon@pm.me>

Co-authored-by: Shinigami <chrissi92@hotmail.de>
Co-authored-by: fncolon <fncolon@pm.me>
  • Loading branch information
3 people authored Jan 17, 2022
1 parent 4a69d6d commit 6871f63
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@ Generate massive amounts of fake data in the Browser and Node.js.
Please replace your `faker` dependency with `@faker-js/faker`. This is the official, stable fork of Faker.

```shell
npm install @faker-js/faker -D
npm install @faker-js/faker --save-dev
```

or

```shell
yarn add @faker-js/faker --dev
```

or

```shell
pnpm add @faker-js/faker --save-dev
```

### Typescript Support
Expand Down
12 changes: 12 additions & 0 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ Install it as a Dev Dependency using your favorite package manager.
npm install @faker-js/faker --save-dev
```

or

```shell
yarn add @faker-js/faker --dev
```

or

```shell
pnpm add @faker-js/faker --save-dev
```

## Usage

### Node.js
Expand Down

0 comments on commit 6871f63

Please sign in to comment.