Skip to content

Commit

Permalink
docs: add yarn/pnpm install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
j4k0xb committed Dec 4, 2024
1 parent 46a15c8 commit 1f60bad
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
14 changes: 13 additions & 1 deletion apps/docs/src/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@

Installation:

```bash
::: code-group

```bash [npm]
npm install webcrack
```

```bash [yarn]
yarn add webcrack
```

```bash [pnpm]
pnpm add webcrack
```

:::

:::info
This is a pure ESM package, so you need to use `import` instead of `require`.
For more info, check out [this gist](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
Expand Down
14 changes: 13 additions & 1 deletion apps/docs/src/guide/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@

Install the package globally:

```bash
::: code-group

```bash [npm]
npm install -g webcrack
```

```bash [yarn]
yarn global add webcrack
```

```bash [pnpm]
pnpm add -g webcrack
```

:::

```txt
Usage: webcrack [options] [file]
Expand Down

0 comments on commit 1f60bad

Please sign in to comment.