Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 464 Bytes

USAGE.md

File metadata and controls

24 lines (19 loc) · 464 Bytes
import { Statsig } from "statsig";

const statsig = new Statsig({
    statsigApiKey: "<YOUR_API_KEY_HERE>",
});

async function run() {
    const result = await statsig.dynamicConfigs.create({
        dynamicConfigCreateDto: {
            idType: "userID",
            name: "<value>",
        },
    });

    // Handle the result
    console.log(result);
}

run();