1.0.6 • Published 2 years ago

statsig-node-fastly v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago