The demo/demo.js
code demonstrates how to use the SDK. You can run it as follows:
Linux/Mac
SEC_GEMINI_API_KEY="YOUR_ACTUAL_API_KEY" npm run demo
Windows CMD
set SEC_GEMINI_API_KEY=your_key_here && npm run demo
Windows PowerShell
$env:SEC_GEMINI_API_KEY="your_key_here" && npm run demo
npm install
Build and then use npm link to use the package from source
npm run build
npm link
in your project/app
npm link sec-gemini
npm run build
npm run test