File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 5
5
"dependencies" : {
6
6
"@hediet/node-reload" : " 0.7.3" ,
7
7
"@types/node" : " ^13.7.4" ,
8
+ "node-fetch" : " ^2.6.1" ,
8
9
"typescript" : " ^3.8.2"
9
10
},
10
11
"scripts" : {
Original file line number Diff line number Diff line change
1
+ const fetch = require ( "node-fetch" ) ;
2
+
3
+ fetch ( "https://jsonplaceholder.typicode.com/users" )
4
+ . then ( ( response ) => response . json ( ) )
5
+ . then ( ( json ) => {
6
+ debugger ;
7
+ } ) ;
Original file line number Diff line number Diff line change @@ -368,6 +368,11 @@ nise@^1.4.10:
368
368
lolex "^4.1.0"
369
369
path-to-regexp "^1.7.0"
370
370
371
+ node-fetch@^2.6.1 :
372
+ version "2.6.1"
373
+ resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
374
+ integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
375
+
371
376
normalize-path@^3.0.0 :
372
377
version "3.0.0"
373
378
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
You can’t perform that action at this time.
0 commit comments