1.0.6 • Published 11 months ago

statsig-node-fastly v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Statsig Node Server SDK - Edge Config Adapter

npm version

A first party Fastly integration with the Statsig server-side Node.js SDK.

Quick Setup

  1. Install the Statsig Node SDK
npm install statsig-node@5.7.0
  1. Install this package
npm install statsig-node-fastly
  1. Setup the Statsig Fastly Integration
  2. Import the package
import { FastlyDataAdapter } from 'statsig-node-fastly'
  1. Create an instance of the FastlyDataAdapter
const dataAdapter = new FastlyDataAdapter(YOUR_FASTLY_API_TOKEN, YOUR_CONFIG_STORE_ID, 'statsig-YOUR_COMPANY_ID');
  1. When initializing the statsig sdk, add the adapter to options
await statsig.initialize(
    'server-secret-key',
    { dataAdapter: dataAdapter },
);
1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago