UNPKG

rocket.chat.mqtt

Version:

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

12 lines (10 loc) 294 B
'use strict' module.exports = isRegistry function isRegistry (req) { if (req == null) return false // modern metadata if ('registry' in req) return req.registry // legacy metadata if (req.type === 'range' || req.type === 'version' || req.type === 'tag') return true return false }