Skip to content

Commit

Permalink
Document supported platforms (#280)
Browse files Browse the repository at this point in the history
* Document supported platforms

* Document support for Deno >= 1.28
  • Loading branch information
mattt authored Jul 5, 2024
1 parent 90de8f8 commit f70b3d9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ and everything else you can do with
> For more information about how to build a web application
> check out our ["Build a website with Next.js"](https://replicate.com/docs/get-started/nextjs) guide.
## Installation
## Supported platforms

- [Node.js](https://nodejs.org) >= 18
- [Bun](https://bun.sh) >= 1.0
- [Deno](https://deno.com) >= 1.28

This library requires Node.js >= 18.
You can also use this client library on most serverless platforms, including
[Cloudflare Workers](https://developers.cloudflare.com/workers/),
[Vercel functions](https://vercel.com/docs/functions), and
[AWS Lambda](https://aws.amazon.com/lambda/).

## Installation

Install it from npm:

Expand Down Expand Up @@ -230,7 +239,7 @@ By default, the `globalThis.fetch` function is used,
which is available on [Node.js 18](https://nodejs.org/en/blog/announcements/v18-release-announce#fetch-experimental) and later,
as well as
[Cloudflare Workers](https://developers.cloudflare.com/workers/runtime-apis/fetch/),
[Vercel Edge Functions](https://vercel.com/docs/concepts/functions/edge-functions),
[Vercel Functions](https://vercel.com/docs/functions),
and other environments.

On earlier versions of Node.js
Expand Down

0 comments on commit f70b3d9

Please sign in to comment.