Important
This version of the SDK is now in maintainance mode and will only receive bug fixes.
All new features will be added to the @statsig/js-client package.
Users of the statsig-js
npm package should migrate to the @statsig/js-client
package by 1/31/2025. See this migration guide.
The JavaScript SDK for single user client environments. If you need a SDK for another language or server environment, check out our other SDKs.
Statsig helps you move faster with feature gates (feature flags), and/or dynamic configs. It also allows you to run A/B/n tests to validate your new features and understand their impact on your KPIs. If you're new to Statsig, check out our product and create an account at statsig.com.
Check out our SDK docs to get started.