Skip to content

A wrapper around the YCombinator's hacker news wrapper for my projects using Hacker News API.

License

Notifications You must be signed in to change notification settings

dfireBird/hacker-news-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News Wrapper

This is a promise based wrapper for the YCombinator's Hacker News API.

const hackerNews = require('hacker-news-wrapper');

hackerNews.fetchTopStories().then(topStories => {
    hackerNews.fetchItem(topStories[0]).then(item => {
        console.log(item);
    });
});

Installation

This is Node.js module. Currently it's not available through npm registry

Download the latest release from releases page or clone the repository

npm install hacker-news-wrapper.tar.gz

or

npm install hacker-news-wrapper/

I haven't tried with yarn but it could work with it also.

Documentation

View the documentation for more information

License

The project is licensed under MIT liscense.

About

A wrapper around the YCombinator's hacker news wrapper for my projects using Hacker News API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published