Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authon TypeScript SDK

Authon
Official TypeScript SDK for Authon — Software Licensing & Authentication Platform

WebsiteDocsDiscordStatus


Requirements

  • Node.js 18+ / Deno / Bun
  • Full TypeScript type safety

Installation

# Copy authon.ts into your project, or:
npx tsx example.ts

Quick Start

import { 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();

Run Example

npx tsx example.ts
# or
deno run --allow-net example.ts
# or
bun run example.ts

Links

License

MIT

About

Authon TypeScript SDK - Full type-safe authentication & licensing (Deno/Bun/Node)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages