Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

TypeScript SDK examples

  1. Install the SDK: npm i @flexprice/sdk.
  2. Copy .env.sample to .env and set FLEXPRICE_API_KEY (optionally FLEXPRICE_API_HOST; include /v1, e.g. us.api.flexprice.io/v1).
  3. Run the example: from the package root, npx tsx examples/quick-start.ts; or from the examples/ directory, npx tsx quick-start.ts.