
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.
@releai/rb-node-sdk
Advanced tools
RELE.AI Node SDK provides a simple interface to manage integrated applications
RELE.AI Node SDK provides an easy interface to manage, create, and integrate applications to Clara.
Please visit: https://github.com/rele-ai/cli
const { RBC } = require("@releai/rb-node-sdk")
// Initiate new releai bot client.
const rbc = new RBC({
appId,
appHash,
host,
port,
})
// send notification to endpoint
const response = await rbc.notify(
// send the operation key
"new_contact",
// send the payload
{
"foo": {
"bar": 1
}
},
// send additional headers
{
"example-header-key": "value"
}
)
// handle output - JSON
console.log(response)
const { format } = require("@releai/rb-node-sdk")
// format payload to gRPC struct format
const payload = format({
// payload
})
const { RBS } = require("@releai/rb-node-sdk")
// initiate the bot server
const rbs = new RBS({
appId,
appHash,
})
// Register operation handler for a given operation
rbs.registerOperation("record_note", async (req, res) => {
// do some logic here...
// reply with the payload data
res.send(200, {
// response payload
})
})
// run server
rbs.listen(50003)
FAQs
RELE.AI Node SDK provides a simple interface to manage integrated applications
We found that @releai/rb-node-sdk 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
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.