Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
This is a wrapper module around the Hacker News API. You can filter the news in order to show you only the stories with a minimum score.
This is a wrapper module around the Hacker News API. You can filter the news in order to show you only the stories with a minimum score.
Tha last version of this library support async/await.
As simple as npm install yc-api
Import the module with const yc-api = require('yc-api')
.
This take the top stories (IDs) from YC and return them.
Takes an url as argument and return a JSON object containing the story.
The returned object looks like this:
{
"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"
}
Return an array of JSON object containing the stories.
Same as get_stories but return into the object only the stories with the minimum score of score.
Example
stories_with_score(200).then(stories => console.log(stories));
const yc_api = require('yc-api');
var yc = new yc_api.API;
yc.stories_with_score(200).then(stories => console.log(stories));
// using async
const stories = await yc.stories_with_score(200);
console.log(stories)
FAQs
This is a wrapper module around the Hacker News API. You can filter the news in order to show you only the stories with a minimum score.
The npm package yc-api receives a total of 0 weekly downloads. As such, yc-api popularity was classified as not popular.
We found that yc-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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.