Security News
Python Overtakes JavaScript as Top Programming Language on GitHub
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
@buildel/buildel
Advanced tools
A flexible library for integrating with the Buildel service via WebSockets. Enables easy connection, authentication, and real-time event handling within the context of organizations and pipelines.
A flexible library for integrating with the Buildel service via WebSockets. Enables easy connection, and real-time event handling within the context of organizations and pipelines.
To install the package using npm:
npm install @buildel/buildel
❗Before proceeding, ensure you have set up an authentication endpoint that will return authentication data for your websocket connection. The Buildel team has provided the @buildel/buildel-auth package to assist you in this process.
import { BuildelSocket } from "@buildel/buildel";
const organizationId = 123
const authUrl = '/your-api/auth-endpoint'
const buildel = new BuildelSocket(organizationId, { authUrl });
await buildel.connect();
// ... your operations ...
await buildel.disconnect();
Run a pipeline and handle events:
const workflowId = 123
const run = buildel.run(workflowId, {
onBlockOutput: (blockId, outputName, payload) => {
console.log(`Output from block ${blockId}, output ${outputName}:`, payload);
},
onBlockStatusChange: (blockId, isWorking) => {
console.log(`Block ${blockId} is ${isWorking ? "working" : "stopped"}`);
},
onStatusChange: (status) => {
console.log(`Status changed: ${status}`);
}
})
Send data to the channel:
await run.start()
run.push("your_block_name:input", 'sample payload');
This project is licensed under the MIT License.
FAQs
A flexible library for integrating with the Buildel service via WebSockets. Enables easy connection, authentication, and real-time event handling within the context of organizations and pipelines.
We found that @buildel/buildel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
Security News
Dutch National Police and FBI dismantle Redline and Meta infostealer malware-as-a-service operations in Operation Magnus, seizing servers and source code.
Research
Security News
Socket is tracking a new trend where malicious actors are now exploiting the popularity of LLM research to spread malware through seemingly useful open source packages.