Skip to content

Commit

Permalink
chore: use nypm for install
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 22, 2024
1 parent 95d6f24 commit 1a16886
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,10 @@ This proof of concept module enables access to the Cloudflare runtime bindings i
## Usage

First, install `nitro-cloudflare-bindings` and `wrangler` packages as a dev dependency
First, install `nitro-cloudflare-bindings` and `wrangler` packages as a dev dependency: ([unjs/nypm](https://nypm.unjs.io) will automatically detect your package manager!)

```sh
# npm
npm i -D wrangler@beta nitro-cloudflare-bindings

# pnpm
pnpm i -D wrangler@beta nitro-cloudflare-bindings

# yarn
yarn add -D wrangler@beta nitro-cloudflare-bindings

# bun
bun i -D wrangler@beta nitro-cloudflare-bindings
npx nypm@latest add -D wrangler@beta nitro-cloudflare-bindings
```

For **Nuxt** update `nuxt.config.ts`:
Expand Down

0 comments on commit 1a16886

Please sign in to comment.