snowflakify
Version:
The most complete Snowflake ID generator in TypeScript
18 lines (17 loc) • 453 B
TypeScript
/**
* @internal
*/
declare const isPowerOfTwo: (num: number) => boolean;
/**
* @internal
*/
declare const isEmpty: (obj: any) => boolean;
/**
* @internal
*/
declare const getIPv4Address: (callback: (err: Error | null, ip: string) => string) => string | null;
/**
* @internal
*/
declare const getMacAddress: (callback: (err: Error | null, mac: string) => string) => string | null;
export { isPowerOfTwo, isEmpty, getIPv4Address, getMacAddress };