Skip to content

Commit

Permalink
Add a Runkit example (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giotino committed May 12, 2020
1 parent 9770e54 commit 48bbb36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions documentation/examples/runkit-example.js
@@ -0,0 +1,4 @@
const got = require("got");
const ISS = "http://api.open-notify.org/iss-now.json";

(await got(ISS).json()).iss_position;
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -125,5 +125,6 @@
"@typescript-eslint/method-signature-style": "off",
"unicorn/no-fn-reference-in-iterator": "off"
}
}
},
"runkitExampleFilename": "./documentation/examples/runkit-example.js"
}

0 comments on commit 48bbb36

Please sign in to comment.