
Official TypeScript SDK for Authon — Software Licensing & Authentication Platform
Website • Docs • Discord • Status
- Node.js 18+ / Deno / Bun
- Full TypeScript type safety
# Copy authon.ts into your project, or:
npx tsx example.tsimport { Authon } from './authon';
const auth = new Authon('your-app-id', 'your-api-key');
await auth.init();
const result = await auth.login('username', 'password');
if (result.success) {
console.log(`Level: ${auth.level}`);
console.log(`Subscription: ${auth.subscription}`);
}
await auth.logout();npx tsx example.ts
# or
deno run --allow-net example.ts
# or
bun run example.ts- 🌐 Website: https://authon.pro
- 📖 Docs: https://authon.pro/docs
- 💬 Discord: https://discord.gg/MTY79JDFm6
- 📊 Status: https://authon.pro/status
- 🔗 API Health: https://api.authon.pro/health
MIT