Commit 7610f9f 1 parent 193c27b commit 7610f9f Copy full SHA for 7610f9f
File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 18
18
### Node.js
19
19
20
20
- Supports Node.js 7.10.1 and newer.
21
- - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/node/js_node_7_up ) for help.
21
+ - Refer to
22
+ [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/node/js_node_7_up )
23
+ for help.
22
24
23
25
``` bash
24
26
npm install serpapi
@@ -40,7 +42,9 @@ getJson({
40
42
41
43
- If you prefer using the ` import ` syntax and top-level ` await ` , you need to use
42
44
at least Node.js 14.8.0.
43
- - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/node/js_node_14_up ) for help.
45
+ - Refer to
46
+ [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/node/js_node_14_up )
47
+ for help.
44
48
45
49
You will need to add ` "type": "module" ` to your ` package.json ` :
46
50
@@ -66,7 +70,9 @@ console.log(response);
66
70
67
71
- Import directly from deno.land.
68
72
- Usage is otherwise the same as above.
69
- - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/deno ) for help.
73
+ - Refer to
74
+ [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/examples/deno )
75
+ for help.
70
76
71
77
``` ts
72
78
import { getJson } from " https://deno.land/x/serpapi/mod.ts" ;
You can’t perform that action at this time.
0 commit comments