TypeScript SDK for the CrowdStrike Falcon API.
falconjs is an open source project, not a CrowdStrike product. It carries no formal support, expressed or implied.
npm install crowdstrike-falcon- TypeScript-first — fully typed request and response models
- 120+ API services — detections, hosts, intel, spotlight, real-time response, and more
- OAuth2 built-in — automatic token management via middleware
import { FalconClient, FalconErrorExplain } from "crowdstrike-falcon";
const client = new FalconClient({
cloud: "us-1",
clientId: "your-client-id",
clientSecret: "your-client-secret",
});
await client.sensorDownload
.getSensorInstallersCCIDByQuery()
.catch(async function (err) {
console.error("Could not fetch CCID: " + (await FalconErrorExplain(err)));
})
.then((value) => {
console.log("my CCID: ", value);
});