LibreAuth Nut.exe Visit Website

TypeScript SDK

Node.js + TypeScript · LibreAuth native client

TypeScript Node.js + TypeScript
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

Copy LibreAuth.ts · npm install · set API_URL

  1. Panel → Manage Applications → copy name + ownerid
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: typescript/LibreAuth.ts
  4. Ed25519 key: /health · Response Signing
  5. 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();