axilonauth
v1.0.1
Published
AxilonAuth - License verification, version management & auto-updates
Downloads
236
Maintainers
Readme
Features
- License Verification - IP/HWID tracking
- Auto Updates - Detect new versions, force-update support
- Maintenance Mode - Block your tool remotely from the dashboard
- Secure Downloads - Single-use 24h download tokens
- Zero Dependencies - Uses only Node.js built-in modules
Quick Start
# 1. Install the package
npm install axilonauthconst { AxilonClient } = require('axilonauth');
const client = new AxilonClient({
productName: 'My-Tool',
currentVersion: '1.0.0',
apiUrl: 'https://auth.axilon.app',
apiKey: 'your-api-key'
});
const result = await client.startup('ABCD-1234-EFGH-5678');
if (!result.licensed) {
console.log(result.error);
process.exit(1);
}
if (result.forceUpdate) {
await client.downloadUpdate('ABCD-1234-EFGH-5678');
process.exit(0);
}
// Your tool runs here
console.log('Licensed and ready!');Methods
client.startup(key)- Verify license + check versionclient.downloadUpdate(key)- Download latest versionclient.checkVersion()- Check for updatesclient.getHwid()- Get machine HWID
