Skip to content

Commit 3980580

Browse files
authored
chore: update readme
1 parent fe0b31f commit 3980580

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# node-do
1+
# @scrape-do/client
22

33
#### Scrape.do's official http client for node.js
44

55
## How to install?
66

77
```shell
8-
npm install @scrape-do/do
8+
npm install @scrape-do/client
99
# or get it from github
10-
npm install git://git@github.com/scrape-do/node-do
10+
npm install git://git@github.com/scrape-do/node-client
1111
```
1212

1313
## How to build from scratch
1414

1515
#### If you want to contribute to the library or include your own customisations, you can recompile the library in this way.
1616

1717
```shell
18-
git clone https://github.com/scrape-do/node-do
18+
git clone https://github.com/scrape-do/node-client
1919
npm i
2020
# build with
2121
npm build
@@ -27,10 +27,10 @@ npm build
2727

2828
```typescript
2929
const client = new ScrapeDo("example_token");
30-
const response = await client.doRequest("GET", {
30+
const response = await client.sendRequest("GET", {
3131
url: "https://httpbin.co/anything",
3232
extraHeaders: {
33-
"sd-A123": "Extra Header",
33+
A123: "Extra Header",
3434
},
3535
});
3636

@@ -39,9 +39,9 @@ console.log(response.data);
3939

4040
## More details
4141

42-
#### [Documentation for more information](https://scrape.do/documentation/?utm_source=github&utm_medium=node-do)
42+
#### [Documentation for more information](https://scrape.do/documentation/?utm_source=github&utm_medium=node-client)
4343

44-
#### [Scrape.do](https://scrape.do?utm_source=github&utm_medium=node-do)
44+
#### [Scrape.do](https://scrape.do?utm_source=github&utm_medium=node-client)
4545

4646
## License
4747

0 commit comments

Comments
 (0)