UNPKG

snowflakify

Version:

The most complete Snowflake ID generator in TypeScript

22 lines (21 loc) 463 B
/** * @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 };