1.0.0 • Published 6 months ago
statsig-node-cloudflare-kv v1.0.0
Statsig Node Server SDK - Edge Config Adapter
A first party Cloudflare integration with the Statsig server-side Node.js SDK.
Quick Setup
- Install the Statsig Node SDK
npm install statsig-node@5.3.0
- Install this package
npm install statsig-node-cloudflare-kv
- Setup the Statsig Cloudflare Integration
- Import the package
import { CloudflareKVDataAdapter } from 'statsig-node-cloudflare-kv'
- Create an instance of the
CloudflareKVDataAdapter
const dataAdapter = new CloudflareKVDataAdapter(env.YOUR_KV_BINDING, 'statsig-YOUR_COMPANY_ID');
- When initializing the
statsig
sdk, add the adapter to options
await statsig.initialize(
'server-secret-key',
{ dataAdapter: dataAdapter },
);
1.0.0
6 months ago
0.1.0
6 months ago
0.1.1
6 months ago
0.0.4
1 year ago
0.0.2-beta.1
1 year ago
0.0.2-beta.0
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago
0.0.1-beta.2
1 year ago
0.0.1-beta.1
1 year ago
0.0.1-beta.0
1 year ago