1818### Node.js
1919
2020- Supports Node.js 7.10.1 and newer.
21- - Refer to [ this example] ( examples/node/js_node_7_up ) for help.
21+ - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/node/js_node_7_up) for help.
2222
2323``` bash
2424npm install serpapi
@@ -40,7 +40,7 @@ getJson({
4040
4141- If you prefer using the ` import ` syntax and top-level ` await ` , you need to use
4242 at least Node.js 14.8.0.
43- - Refer to [ this example] ( examples/node/js_node_14_up ) for help.
43+ - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/node/js_node_14_up) for help.
4444
4545You will need to add ` "type": "module" ` to your ` package.json ` :
4646
@@ -66,7 +66,7 @@ console.log(response);
6666
6767- Import directly from deno.land.
6868- Usage is otherwise the same as above.
69- - Refer to [ this example] ( examples/deno ) for help.
69+ - Refer to [ this example] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/deno) for help.
7070
7171``` ts
7272import { getJson } from " https://deno.land/x/serpapi/mod.ts" ;
@@ -113,9 +113,9 @@ await getJson({ engine: "google", api_key: API_KEY_2, q: "coffee" }); // API_KEY
113113Built-in pagination is not supported. Please refer to our pagination examples
114114for a manual approach:
115115
116- - [ Pagination example (Node.js >= 7)] ( examples/node/js_node_7_up/pagination_example.js )
117- - [ Pagination example (Node.js >= 14)] ( examples/node/js_node_14_up/pagination_example.js )
118- - [ Pagination example (Deno)] ( examples/deno/pagination_example.ts )
116+ - [ Pagination example (Node.js >= 7)] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/node/js_node_7_up/pagination_example.js)
117+ - [ Pagination example (Node.js >= 14)] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/node/js_node_14_up/pagination_example.js)
118+ - [ Pagination example (Deno)] ( https://github.com/serpapi/serpapi-javascript/tree/master/ examples/deno/pagination_example.ts)
119119
120120## Functions
121121
0 commit comments