GetKeyManager is coming soon! 🎉 See here to know what’s new

JavaScript SDK

The official JavaScript/Node.js SDK provides a modern, promise-based interface for managing licenses in both browser and server-side environments.


🔗 Repository

GitHub: https://github.com/getkeymanager/javascript-sdk


🚀 Features

  • Platform Agnostic: Works in Node.js, Browsers, and Edge environments.
  • Modern Syntax: Clean, ES6+ promise-based API.
  • TypeScript Support: Full type definitions included.
  • Offline Validation: Support for signed offline license files.
  • Telemetry: Built-in support for usage tracking and piracy detection.

📦 Installation

npm install @getkeymanager/js-sdk

🛠️ Usage Example

import { LicenseClient } from '@getkeymanager/js-sdk';

const client = new LicenseClient({
  apiKey: 'your-api-key',
  verifySignatures: true,
  publicKey: '...'
});

const result = await client.validateLicense('XXXXX-XXXXX-XXXXX-XXXXX');

if (result.success) {
  console.log('License valid:', result.data.status);
}

🆕 New in v2.0

  • State-Based Core: Intelligent state resolver and store.
  • Comprehensive API: Methods for managing products, contracts, and generators.
  • Enhanced Security: Hardened signature verification logic.
Last updated on