Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
hnuserdownload
Advanced tools
Downloads Hacker News comments/submissions for a user. Can be used as a module or from the commandline.
Install
$ npm install hnuserdownload
Include the module and run
var hnuserdownload = require('hnuserdownload');
hnuser(id, function(err, results) {
if (err) console.log(err);
console.log(csv);
});
var hnuserdownload = require('hnuserdownload');
hnuserdownload.hnuserdownload("pg", function(err, results)
{
console.log(results);
});
There is also a method available to assist creating a CSV file.
hnuserdownload
can also be called from the command line
Usage: hnuserdownload username [json] [csv]
The username is required. Include json and/or csv to create output files. The files will be named automatically based on the username.
hnuserstats (in progress) makes use of this library and includes statistics. That library will have a web frontend at [http://hnuser.herokuapp.com/] and Chrome extension frontend at [http://github.com/jaredsohn/hnkarmabreakdown].
Written by [Jared Sohn](mailto: jared.sohn@gmail.com).
FAQs
Download all comments/stories for a Hacker News user
We found that hnuserdownload 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.