UNPKG

velocid

Version:

Revolutionary high-performance distributed ID generator with military-grade security

31 lines 759 B
/** * Static node identifier generator */ export declare class StaticNodeID { private static _nodeId; private static _instanceCounter; private _id; constructor(customId?: number); get id(): number; /** * Generate or retrieve cached node ID */ private static getOrGenerateNodeId; /** * Generate stable node identifier from system characteristics */ private static generateStableNodeId; /** * Simple hash function for node ID generation */ private static simpleHash; /** * Get node ID as hexadecimal string */ toHex(): string; /** * Static method to get the global node ID */ static getGlobalNodeId(): number; } //# sourceMappingURL=node-id.d.ts.map