Skip to content

Commit 5f3d5d4

Browse files
authored
Update README.md
1 parent 75e83d2 commit 5f3d5d4

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Replicate JavaScript client
1+
# Replicate Node.js client
22

3-
SDK for [Replicate’s REST API](https://replicate.com/docs/reference/http).
3+
A Node.js client for [Replicate](https://replicate.com). It lets you run models from your Node.js code, and do various other things on Replicate.
44

55
## Installation
66

7-
This is not on npm yet, but you can install it from GitHub:
7+
Install it from npm:
88

99
```bash
10-
npm install replicate/replicate-javascript
10+
npm install replicate
1111
```
1212

1313
## Usage
@@ -31,7 +31,7 @@ const input = { text: "Hello, world!" };
3131
const output = await replicate.run(model, { input });
3232
```
3333

34-
You can also run a model without awaiting the result:
34+
You can also run a model in the backround:
3535

3636
```js
3737
let prediction = await replicate.predictions.create({
@@ -55,13 +55,6 @@ Or wait for the prediction to finish:
5555
prediction = await replicate.wait(prediction);
5656
```
5757

58-
## Features
59-
60-
- [x] async API
61-
- [x] Type annotations
62-
- [x] Tests
63-
- [x] Pagination
64-
6558
## API
6659

6760
### Constructor

0 commit comments

Comments
 (0)