Skip to content

Commit 48bbb36

Browse files
authoredMay 12, 2020
Add a Runkit example (#1253)
1 parent 9770e54 commit 48bbb36

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const got = require("got");
2+
const ISS = "http://api.open-notify.org/iss-now.json";
3+
4+
(await got(ISS).json()).iss_position;

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,6 @@
125125
"@typescript-eslint/method-signature-style": "off",
126126
"unicorn/no-fn-reference-in-iterator": "off"
127127
}
128-
}
128+
},
129+
"runkitExampleFilename": "./documentation/examples/runkit-example.js"
129130
}

0 commit comments

Comments
 (0)
Please sign in to comment.