UNPKG

rocket.chat.mqtt

Version:

It's a MQTT Server, using redis to scale horizontally.

26 lines (19 loc) 432 B
declare function hyperid(opts?: boolean | hyperid.Options): hyperid.Instance declare namespace hyperid { const decode: hyperid.decode interface Options { urlSafe?: boolean fixedLength?: boolean } interface Instance { (): string decode: hyperid.decode uuid: string } type decode = (id: string) => hyperid.IdObject interface IdObject { uuid: string count: number } } export = hyperid