Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
The official GoSquared Node.js module for integrating the GoSquared API into your Node.JS app with ease.
npm install --save gosquared
See the Tracking API docs site for full documentation.
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-181546-E'
});
Methods mirror the structure of the GoSquared API:
gosquared[namespace][version][function]
Consult the Reporting API Docs for available namespaces, versions, and functions.
Example: We want to get the total number of visitors online on the site right now. For this, we need to use the concurrents
function under the v3
version of the now
namespace:
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-181546-E'
});
gosquared.now.v3.concurrents(function(e,data) {
if (e) return console.log(e);
console.log(data)
});
All functions listed in the Reporting API documentation are methods you can call on the gosquared
object. The documentation also demonstrates the response data you can expect to get back.
Install test dependencies using npm install
then:
SITE_TOKEN=<your site token> API_KEY=<your api key> npm test-tracking
SITE_TOKEN=<your site token> API_KEY=<your api key> npm test-retrieval
FAQs
GoSquared for your Node.JS application
The npm package gosquared receives a total of 34 weekly downloads. As such, gosquared popularity was classified as not popular.
We found that gosquared 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.