Skip to content

Commit f70b3d9

Browse files
authored
Document supported platforms (#280)
* Document supported platforms * Document support for Deno >= 1.28
1 parent 90de8f8 commit f70b3d9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@ and everything else you can do with
1010
> For more information about how to build a web application
1111
> check out our ["Build a website with Next.js"](https://replicate.com/docs/get-started/nextjs) guide.
1212
13-
## Installation
13+
## Supported platforms
14+
15+
- [Node.js](https://nodejs.org) >= 18
16+
- [Bun](https://bun.sh) >= 1.0
17+
- [Deno](https://deno.com) >= 1.28
1418

15-
This library requires Node.js >= 18.
19+
You can also use this client library on most serverless platforms, including
20+
[Cloudflare Workers](https://developers.cloudflare.com/workers/),
21+
[Vercel functions](https://vercel.com/docs/functions), and
22+
[AWS Lambda](https://aws.amazon.com/lambda/).
23+
24+
## Installation
1625

1726
Install it from npm:
1827

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

236245
On earlier versions of Node.js

0 commit comments

Comments
 (0)