hacker-news-cli/package.json
Robert Webb 5d685051b5 Added sample code for querying the HN API in node. I used node because it takes me much less time but many other languages would work. I wanted to demonstrate the ease of hackernews API.
In order to use, install node.
Run npm install in the repo to generate the node_modules folder.
run node index.js
You should see the HN top stories logged out.
2019-02-01 23:28:47 -08:00

19 lines
351 B
JSON

{
"name": "hacker-news-cli",
"version": "1.0.0",
"description": "TODO",
"main": "index.js",
"scripts": {
"test": "mocha ."
},
"repository": {
"type": "git",
"url": "ssh://git@irc.anarchyplanet.org:2222/notnull/hacker-news-cli.git"
},
"author": "",
"license": "MIT",
"dependencies": {
"node-fetch": "^2.3.0"
}
}