
Research
/Security News
Trivy Under Attack Again: Widespread GitHub Actions Tag Compromise Exposes CI/CD Secrets
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.
npm install --save hiveone-js
Import into your project using the relevant method:
const hive = require('hiveone-js').default;
const api = hive({ apiKey: 'APIKEYHERE' });
import hive from 'hiveone-js';
const api = hive({ apiKey: 'APIKEYHERE' });
// Default
let response = await api.availableInfluncers();
// Requesting twitter_id's
let response = await api.availableInfluncers({ format: 'id' });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
format | No | screenName | screenName, id | Change the format of the influencer ID |
// Default
let response = await api.topInfluencers();
// BTC with pagination
let response = await api.topInfluencers({ cluster: 'BTC', after: 50 });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
cluster | No | Crypto | Crypto, BTC, ETH, XRP | Specify the cluster you want the top influencers for |
after | No | 0 | Multiples of 50 | Used for pagination |
// Default
let response = await api.influencerDetails({ influencerId: 'jack' });
// Personal Rank Type
let response = await api.influencerDetails({ influencerId: 'jack', rankType: 'personal' });
// Include Followers
let response = await api.influencerDetails({ influencerId: 'jack', includeFollowers: 1 });
// Request using twitter_id
let response = await api.influencerDetails({ influencerId: '12', format: 'id' });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
influencerId | Yes | Unique ID (Screen Name or Twitter ID) for the influencer you are requesting. | ||
format | No | screenName | screenName, id | Change the format of the influencer ID |
rankType | No | all | all, personal | People are treated differently from other types of influencers (Companies, bots, etc.), if you request all an influencers rank/score will reflect their influence across the entire cluster, if you request personal their rank/score will reflect their influence across other people in the cluster. |
includeFollowers | No | 0 | 0, 1 | Allows you to get top followers for the requested influencer. |
// Default
let response = await api.influencerHistory({ influencerId: 'jack' });
// Personal Rank Type
let response = await api.influencerHistory({ influencerId: 'jack', rankType: 'personal' });
// Request using twitter_id
let response = await api.influencerHistory({ influencerId: '12', format: 'id' });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
influencerId | Yes | Unique ID (Screen Name or Twitter ID) for the influencer you are requesting. | ||
format | No | screenName | screenName, id | Change the format of the influencer ID |
rankType | No | all | all, personal | People are treated differently from other types of influencers (Companies, bots, etc.), if you request all an influencers rank/score will reflect their influence across our entire dataset, if you request personal their rank/score will reflect their infulencer across other people. |
// Default
let response = await api.influencerPodcasts({ influencerId: 'jack' });
// appearance_type
let response = await api.influencerPodcasts({ influencerId: 'jack', rankType: 'personal' });
// Pagination
let response = await api.influencerPodcasts({ influencerId: 'jack', after: 20 });
// Request using twitter_id
let response = await api.influencerPodcasts({ influencerId: '12', format: 'id' });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
influencerId | Yes | Unique ID (Screen Name or Twitter ID) for the influencer you are requesting. | ||
format | No | screenName | screenName, id | Change the format of the influencer ID |
appearanceType | No | all | all, host, guest | Allows you to filter podcasts whether the requested influencer was a host or a guest |
after | No | 0 | Multiples of 20 | Used for pagination |
// Default
let response = await api.influencerHistory({ influencerIDS: [123, 123] });
| Argument | Required | Default | Options | Purpose |
|---|---|---|---|---|
influencerIDS | Yes | An array of twitter_ids for the influencers you want to retrieve. | ||
rankType | No | all | all, personal | People are treated differently from other types of influencers (Companies, bots, etc.), if you request all an influencers rank/score will reflect their influence across our entire dataset, if you request personal their rank/score will reflect their infulencer across other people. |
includeFollowers | No | 0 | 0, 1 | Allows you to get top followers for the requested influencer. |
You can change the defaults when initializing the library
You can change the default infleuncerID format like so:
const hive = require('hiveone-js').default;
const api = hive({ apiKey: 'APIKEYHERE', defaultFormat = 'id' });
You can also change the host the library connects to (Useful if you are caching hive.one data)
const hive = require('hiveone-js').default;
const api = hive({ apiKey: 'APIKEYHERE', host = 'https://hosthere' });
Install the latest developer version with npm from github:
npm install git+https://github.com/hive-one/hive-js
Install from git cloned source:
npmgit clone https://github.com/hive-one/hive-js
cd hive-js
npm install
git clone https://github.com/hive-one/hive-jscd hive-jsnpm install
npm test
FAQs
Package for use of the hive.one API
We found that hiveone-js 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
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.

Research
/Security News
We identified over 20 additional malicious extensions, along with over 20 related sleeper extensions, some of which have already been weaponized.