
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@5app/digital-hub-api
Advanced tools
A NodeJS API for interoperating with a Digital Hub
The samples folder highlights how the API can be used to automate and report operations with a Digital Hub.
Create an instance of the hub
const Hub = require('@5app/digital-hub-api');
The constructor defines the environment and user credentials
const hub = new Hub({
tenant,
username,
password,
});
This makes a request using node-fetch.
await hub.api({
path: 'query/assets',
qs: {
fields: ['id', 'name'],
filters: {
parent_id: 13123,
},
},
});
Note: Docs on the available HTTP endpoints, methods and parameters are in development.
FAQs
API for interacting with a Digital Hub
We found that @5app/digital-hub-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.

Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.

Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.

Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.