
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
socialblade-com-api
Advanced tools
Unofficial APIs for Socialblade.com website. The socialblade
function returns the last 30 days data of a username for a particular source. See example below.
npm i socialblade-com-api
socialblade
functionurlprefix
: Socialblade website is protected by Cloudflare, I use Scraperapi.com as prefix to bypass the blocks.source
: one of the followings.username
: username on the specified source.const { socialblade } = require('socialblade-com-api')
async function main () {
try {
const response = await socialblade('http://api.scraperapi.com?api_key=<YOUR_API_KEY>&url=', 'twitter', 'barackobama')
} catch (err) {
console.error(err)
}
}
{
table: [
{
date: '2020/05/26',
followersDelta: 5657,
followers: 117937431,
followingDelta: -7,
following: 605960,
postsDelta: 0,
posts: 15811
},
...
],
charts: [
{
id: 'weekly-followers-gained',
title: 'Weekly Followers Gained for ...',
data: [ { date: '2020/05/26', value: 123 }, ... ]
}
]
}
npm test
npm run lint
Please open an issue.
FAQs
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.