File tree 1 file changed +6
-24
lines changed
1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -12,38 +12,20 @@ Extract main article, main image and meta data from URL.
12
12
13
13
- [ Give it a try!] ( https://extractus-demo.vercel.app/article )
14
14
15
- ## Install & Usage
16
-
17
- ### Node.js
15
+ ## Install
18
16
19
17
``` bash
18
+ # npm, pnpm, yarn
20
19
npm i @extractus/article-extractor
21
20
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
41
23
```
42
24
43
- ### Browser
25
+ ## Usage
44
26
45
27
``` ts
46
- import { extract } from ' https://esm.sh/ @extractus/article-extractor'
28
+ import { extract } from ' @extractus/article-extractor'
47
29
```
48
30
49
31
Please check [ the examples] ( examples ) for reference.
You can’t perform that action at this time.
0 commit comments