Node SDK
Setup and configuration
Initialize Ferno's Node SDK.
Install#
Initialize#
Settings:
writeKey: required project key.host: API host; defaults to Ferno's data host.path: API path; defaults to/events.authMode:beareror legacysegment-basic.flushAt: events per batch; default 15.flushInterval: automatic flush delay; default 10 seconds.maxRetries: retry count; default 10.httpRequestTimeout: request timeout.disable: make all calls no-ops.httpClient: custom fetch-compatible client or HTTP client.
Keep writeKey in environment variables or a secrets manager.