DocsSDKsJavaScript
JavaScript / TypeScript SDK Docs
Planned JavaScript SDK wrapper documentation.
Planned Package Installation
Our official JavaScript wrapper will be hosted on NPM. You will be able to install it via npm or yarn:
bash
npm install @verilens/sdkPlanned SDK Initialization
Import the client, set your authorization token, and query verification pipelines seamlessly:
typescript
import { VeriLensClient } from '@verilens/sdk';const verilens = new VeriLensClient({apiKey: process.env.VERILENS_API_KEY});const result = await verilens.verify({text: "Volcano eruption in Mount Merapi is causing immediate tsunami warnings."});console.log(`Verdict: ${result.verdict} (Confidence: ${result.confidence_score * 100}%)`);
