TypeScript SDK
Node.js + TypeScript · LibreAuth native client
TypeScript
Node.js + TypeScript
Setup Guide
Copy LibreAuth.ts · npm install · set API_URL
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
typescript/LibreAuth.ts - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
npm i typescript @types/node
# Copy sdk/typescript/LibreAuth.ts
Code Example
TypeScript
import LibreAuth from './LibreAuth';
const app = new LibreAuth('AppName', 'OWNER_ID_10', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
await app.init();