
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Range helps teams know what’s happening, stay in sync, and actually feel like a team. It’s thoughtfully designed software that helps teams share daily check-ins, track goals, and run better meetings. So you can do your best work together.
Everything is easier in Range because it works with the tools you already use. Your tasks, documents, and code changes are already in Range, so you don’t have to enter data twice.
Find out more at www.range.co.
The Range Node SDK provides access to the Range API from applications written in server-side javascript.
This package makes use of Range API Keys, be careful to keep these keys secure. Avoid checking them into git repositories or leaving them in unsecured source code.
See this readme and the API docs.
npm install range-sdk --save
This package needs to be configured with an API key which you can generate by visiting your
developer dashboard. The key can be passed in via the
RANGE_ACCESS_KEY
environment variable, or as a constructor argument.
const Range = require('range-sdk');
const rangeClient = new Range('deadbeef1234567890');
The SDK uses promises:
new Range()
.listTeams()
.then(resp => console.log(resp))
.catch(err => console.error(err.message));
or you can use await
:
const team = await new Range().readTeam(productTeamID);
Errors are typed; both NetworkError
and APIError
inherit from RangeError
.
new Range()
.findUser({ email: 'no-one@mycorp.com' })
.then(resp => console.log(resp))
.catch(err => {
if (err instanceof Range.APIError && err.code === Range.ErrorCodes.NOT_FOUND) {
console.log('A Range user does not exist for that email');
} else {
console.error(err.message);
}
});
FAQs
Range SDK for node
The npm package range-sdk receives a total of 1 weekly downloads. As such, range-sdk popularity was classified as not popular.
We found that range-sdk 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.