
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@azure/brigadier
Advanced tools
Brigadier is the events and jobs library for Brigade.
This is the core of the Brigadier library, but the Kubernetes runtime is part of Brigade itself.
To run a brigade.js file in Kubernetes, it will need to be executed within Brigade.
This library is useful for:
brigade.js filesBecause there is no JobRunner implementation, executing job.run() is a no-op unless you override the appropriate methods on the Job class.
Install with Yarn, NPM, etc.:
$ yarn add @azure/brigadier
While this library is fairly stable, it is considered best to match the version of this library to the version of Brigade that you are using.
The API is the same here as in Brigade's API:
const {events, Job} = require("@azure/brigadier");
events.on("push", (e, p) => {
console.log("Got a push event");
const j = new Job("example", "alpine:3.7");
j.run().then((res) => {
console.log(`result: ${ res.toString() } `)
});
});
To learn more, visit the official scripting guide.
FAQs
Brigade library for pipelines and events
We found that @azure/brigadier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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 now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies