1import * as schematic from "@schematichq/schematic-typescript-node";
2
3const client = schematic.init("your-api-key");
4const checkFlagRequestBody = { company: { id: "my-company-id"} };
5const key = "my-flag";
6
7if (
8 await client.Features.checkFlag({
9 key,
10 checkFlagRequestBody,
11 }))
12{
13 // Flag is enabled
14} else {
15 // Flag is disabled
16}
Implement packaging in your application with a familiar interface. Don't maintain hard-coded policy files, stale customer data, or homegrown feature flags.
Our robust API and out-of-the-box integrations with Segment, CRMs, and billing systems make aggregating account, billing, and usage data straightforward.
Application and API transactions are tracked across Schematic for straightforward debugging. We maintain 99.99% uptime.