
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
hackernews-api
Advanced tools
HackerNews-API is a Node.js wrapper for accessing v0 of the official Hacker News API.
The current production release of HackerNews-API is available through npm:
npm install hackernews-api
> var hn = require('hackernews-api');
> hn.getItem(8863);
{
by : "dhouston",
descendants : 71,
id : 8863,
kids : [ 8952, 9224, 8917, 8884, 8887, 8943, 8869, 8958, 9005, 9671, 8940, 9067, 8908, 9055, 8865, 8881, 8872, 8873, 8955, 10403, 8903, 8928, 9125, 8998, 8901, 8902, 8907, 8894, 8878, 8870, 8980, 8934, 8876 ],
score : 111,
time : 1175714200,
title : "My YC app: Dropbox - Throw away your USB drive",
type : "story",
url : "http://www.getdropbox.com/u/2/screencast.html"
}
> hn.getUser('wcember');
{ about: 'programmer, actuary, consultant.<p>williamcember.com\ngithub.com/
wcember\n@wcember',
created: 1382846640,
delay: 0,
id: 'wcember',
karma: 4,
submitted: [ 9106838, 7979403, 6638253 ] }
getItem
getUser
getMaxItem
getTopStories
getNewStories
getAskStories
getShowStories
getJobStories
getUpdates
FAQs
Javascript wrapper for accessing the official Hacker News API v0
The npm package hackernews-api receives a total of 66 weekly downloads. As such, hackernews-api popularity was classified as not popular.
We found that hackernews-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.