0.2.2 • Published 6 months ago
@flags-sdk/statsig v0.2.2
Flags SDK — Statsig Provider
The Statsig provider for the Flags SDK contains support for Statsig's Feature Gates, Dynamic Config, Experiments, Autotune and Layers.
Setup
The Statsig provider is available in the @flags-sdk/statsig
module. You can install it with
pnpm i @flags-sdk/statsig
Provider Instance
You can import the default adapter instance statigAdapter
from @flags-sdk/statsig
:
import { statsigAdapter } from '@flags-sdk/statsig';
Example
import { flag } from 'flags/next';
import { statsigAdapter } from '@flags-sdk/statsig';
export const marketingGate = flag<boolean>({
key: 'marketing_gate',
adapter: statsigAdapter.featureGate((config) => config.value),
});
Documentation
Please check out the Statsig provider documentation for more information.
0.2.2
6 months ago
0.2.1
8 months ago
0.2.0
8 months ago
0.2.0-056afe2d-20250225085919
8 months ago
0.2.0-5f307d54-20250218061049
8 months ago
0.2.0-85805d6e-20250204145108
9 months ago
0.2.0-8f494515-20250123211138
9 months ago
0.2.0-a37cb2b1-20250122181514
9 months ago
0.2.0-0dd84206-20250121160952
9 months ago
0.2.0-f6ebb719-20250121142203
9 months ago
0.1.0
9 months ago
0.1.0-5351cd82-20250116121123
9 months ago
0.1.0-3c662842-20241213132247
10 months ago