EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Getting Started

  • Keymint Documentation
  • Introduction
  • Getting Started
  • License Keys
  • Changelog

SDK References

  • Software Development Kits (SDKs)
  • Node.js SDK
  • Go SDK
  • Python SDK
  • C# SDK

Integration Guides

  • Integration Guides
  • Customer Portal for Vendors
  • Roles & Permissions
  • Radar Alert Destinations
  • Payment Provider Integrations
  • Stripe Subscription Licensing
  • Import Existing License Keys
  • Email Delivery
  • API Key Management
  • Webhook Deliveries
  • Analytics and Retention
  • Dashboard Workflows
  • Electron Licensing
  • PyQt Licensing
  • Tauri Licensing
  • Next.js SaaS Licensing

Licensing Guides

  • Licensing Concepts
  • Node-Locking & Machine Identifiers
  • Floating Licenses
  • Offline Verification
  • License Radar
  • Public Key Management and Rotation
  • Feature Flags
  • Webhooks & Events

Templates

  • Starter Templates
  • Electron License Starter
  • PyQt License Starter
  • Tauri License Starter
  • Next.js SaaS License Starter

Security & Trust

  • Security & Trust

Support

  • Frequently Asked Questions
  • Customer Portal
  • Using the Customer Portal
  • Workspace Settings and Roles

Legal

  • Privacy Policy
  • Subprocessors
  • Data Processing Agreement
  • Security Overview
  • Terms of Service
  • Service Level Agreement (SLA)
  • GDPR Compliance

Node.js SDK

Official Node.js and TypeScript SDK for Keymint. Implement hardware-locked node keys and floating sessions in your JavaScript applications.

Installation

To download and install the official Node.js SDK, use one of the package managers:

npm install keymint

TypeScript definitions are included out-of-the-box — no separate @types package is required.

Quick Start

typescript
import { KeyMint } from 'keymint';

const admin = new KeyMint('YOUR_ADMIN_API_KEY');
const client = new KeyMint('YOUR_CLIENT_API_KEY');

// Create a key with allowed hosts (Node-locking)
const newKey = await admin.createKey({
  productId: 'YOUR_PRODUCT_ID',
  allowedHosts: ['machine-a', 'machine-b']
});

// Activate a license
const result = await client.activateKey({
  productId: 'YOUR_PRODUCT_ID',
  licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX',
  hostId: 'machine-a',
  licensee: { name: 'Jane Doe', email: 'jane@example.com' }
});

console.log(result.message); // "License valid"

Use client keys for activation/deactivation/floating sessions. Use admin keys for create/update/block/unblock/sign/delete and customer management. Use read-only or admin keys for detailed key lookup. Any key carrying the matching grant (license:activate, license:manage, license:sign, license:delete, license:read, customer:read/write) works on any scope — see key permissions in the dashboard.

Resources

  • npm Package
  • GitHub Repository

On this page

  • Installation
  • Quick Start
  • Resources