LibreAuth Nut.exe Visit Website

JavaScript SDK

Node.js / Browser · LibreAuth native client

JavaScript Node.js / Browser
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

Copy libreauth.js · set API URL in constructor

  1. Panel → Manage Applications → copy name + ownerid
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: js/libreauth.js
  4. Ed25519 key: /health · Response Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
npm init -y
# Copy sdk/js/libreauth.js

Code Example

JavaScript
const LibreAuth = require('./libreauth.js');
const app = new LibreAuth('AppName', 'OWNER_ID_10', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
await app.Init();
await app.Login('user', 'pass', 'HWID');

Quick Test

Test
node -e "const L=require('./libreauth.js'); ..."