A node module that utilizes the Hacker News official API and powers my command line app (of similar name).
- Returns results from HN feeds (top, new, ask, show, and job)
- Returns stories in either parsed or unparsed JSON
- Return a story url for post of ID
Clone the repository with:
git clone https://github.com/Coteh/hacka-news
Then to install all the dependencies, run:
npm install
Currently, the tests are set up using the mocha testing framework, and assertions done using should.
To run the tests, make sure you have mocha installed globally using:
npm install -g mocha
Then run the tests using:
mocha
- Error comments are unorganized
- No integration testing
- Filter feed results by story url or some other method of organization
- More soon...