1.0.3 • Published 3 years ago
@lynth/prepr-next-sdk v1.0.3
Prepr Next.js SDK
About
We made an SDK for much easier and faster integration with prepr.io
Installation
First of all you need to install our package:
npm i @lynth/prepr-next-sdk
Configuration
For now this package uses only environmental variables which are:
PREPR_TOKEN
- Required, auth token for data fetching
PREPR_TIMEOUT
- Optional, default timeout value is 4000
PREPR_BASE_URL
- Optional, default timeout value is "https://cdn.prepr.io
"
PREPR_AB_ID
- Optional, userId used in A/B testing