
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@rainway/api
Advanced tools
This is a TypeScript/JavaScript wrapper for the Rainway API that utilizes axios. The module can be used in the following environments:
Environment
Language level
Module system
It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via package.json. (Reference)
npm install @rainway/api
Example usage:
import {Configuration, PeersApi} from "@rainway/api"
async function main() {
const api = new PeersApi(new Configuration({
username: "pk_live_xxx",
password: "sk_live_xxx"
}))
const peers = (await api.getPeers("123456")).data //123456 being an orgId, found in the url bar when you're logged into the Rainway Hub
console.log(peers)
}
main()
To build and compile the TypeScript source use:
npm install
npm run build
FAQs
OpenAPI client for @rainway/api
We found that @rainway/api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.