
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Node.js module to interact with the official 𝚫 now API.
You need to provide your API token, which you can obtain here.
It is possible to pass it as a parameter or with the NOW_TOKEN
environment variable.
When no token is given, it will use the one contained in your .now.json
file.
npm install --save now-api
var Now = require('now-api');
var now = Now('YOUR TOKEN');
// Supports Promises
now.getDeployments().then((deployments) => {
console.log(deployments);
}).catch((err) => {
console.error(err);
});
// Or go old-school with callbacks
now.getDeployments(function(err, deployments) {
if (err) throw err;
console.log(deployments);
});
{{#class name="Now"}}
{{>body}}
{{>member-index~}}
{{>members~}}
{{/class}}
FAQs
Node.js wrapper for the 𝚫 now API
The npm package now-api receives a total of 2 weekly downloads. As such, now-api popularity was classified as not popular.
We found that now-api 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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.