Skip to content

Commit 938aef4

Browse files
committed
Update README
1 parent e2e2257 commit 938aef4

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

README.md

+6-24
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,20 @@ Extract main article, main image and meta data from URL.
1212

1313
- [Give it a try!](https://extractus-demo.vercel.app/article)
1414

15-
## Install & Usage
16-
17-
### Node.js
15+
## Install
1816

1917
```bash
18+
# npm, pnpm, yarn
2019
npm i @extractus/article-extractor
2120

22-
# pnpm
23-
pnpm i @extractus/article-extractor
24-
25-
# yarn
26-
yarn add @extractus/article-extractor
27-
```
28-
29-
```ts
30-
// es6 module
31-
import { extract } from '@extractus/article-extractor'
32-
```
33-
34-
### Deno
35-
36-
```ts
37-
import { extract } from 'https://esm.sh/@extractus/article-extractor'
38-
39-
// deno > 1.28
40-
import { extract } from 'npm:@extractus/article-extractor'
21+
# bun
22+
bun add @extractus/article-extractor
4123
```
4224

43-
### Browser
25+
## Usage
4426

4527
```ts
46-
import { extract } from 'https://esm.sh/@extractus/article-extractor'
28+
import { extract } from '@extractus/article-extractor'
4729
```
4830

4931
Please check [the examples](examples) for reference.

0 commit comments

Comments
 (0)