
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
instagram-analytics
Advanced tools
Get user stats from Instagram
$ npm install --save instagram-analytics
const instagramAnalytics = require('instagram-analytics');
instagramAnalytics.users(['foobar', 'unicorn']).then(stats => {
console.log(stats);
/*
[{
comments: 351,
commentsPerPost: 8,
description: 'A wonderful description',
email: 'foobar@gmail.com',
engagement: 0.02,
followers: 821,
following: 387,
fullName: 'Foo Bar',
id: '2343gf12',
likes: 581,
likesPerPost: 12,
posts: 146,
postsPerDay: 1.23,
url: 'http://instagram.com/foobar',
username: 'foobar',
website: 'http://foobar.com'
}, {
...
}]
*/
});
Type: Array
Returns a promise for an array of user stats objects with:
comments: Total number of commentscommentsPerPost: Average number of comments per postdescription: User descriptionemail: User emailengagement: Average user engagement (((comments + likes) / posts) / followers)followers: Total number of followersfollowing: Total number of followingfullName: User full nameid: User idlikes: Total number of likeslikesPerPost: Average number of likes per postposts: Total number of postspostsPerDay: Average posts per dayurl: User Instagram urlusername: Same username as suppliedwebsite: User websiteType: number
Default: 20
Number of posts to fetch.
Type: number
Default: 0
Minimum amount of engagement.
Type: number
Default: 0
Minimum amount of followers.
Type: string
Fetch stats for all users that has commented on a post. Returns a promise for an array of user stats objects.
Same as above.
MIT © Kevin Mårtensson
FAQs
> Get user stats from Instagram
The npm package instagram-analytics receives a total of 5 weekly downloads. As such, instagram-analytics popularity was classified as not popular.
We found that instagram-analytics 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.