Statsig Node.js SDK for usage in multi-user server environments.


Keywords
feature gate, feature flag, continuous deployment, ci, ab test
License
ISC
Install
npm install statsig-node@5.19.0

Documentation

Statsig Node Server SDK

npm version tests

The Node.js SDK for multi-user, server side environments. If you need a SDK for another language or single user client environment, check out our other SDKs.

Statsig helps you move faster with Feature Gates (Feature Flags) and Dynamic Configs. It also allows you to run A/B tests to validate your new features and understand their impact on your KPIs. If you're new to Statsig, create an account at statsig.com.

Getting Started

Check out our SDK docs to get started.

Testing

Each server SDK is tested at multiple levels - from unit to integration and e2e tests. Our internal e2e test harness runs daily against each server SDK, while unit and integration tests can be seen in the respective github repos of each SDK. For node, the RulesetsEvalConsistency.test.js runs a validation test on local rule/condition evaluation for node against the results in the statsig backend.