Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hacka-news

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hacka-news

npm module for loading and organizing content from the official Hacker News API.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by63.64%
Maintainers
1
Weekly downloads
 
Created
Source

hacka-news Build Status


A node module that utilizes the Hacker News official API and powers my command line app (of similar name).

Features

  • 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

Installation

Clone the repository with:
git clone https://github.com/Coteh/hacka-news

Then to install all the dependencies, run:
npm install

Testing

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

Issues

  • Error comments are unorganized
  • No integration testing

Future Additions

  • Filter feed results by story url or some other method of organization
  • More soon...

Keywords

FAQs

Package last updated on 29 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc