let uuids = []; const get = (id) => { if (uuids.indexOf(id) !== -1) return true; return false; } const push = (id) => { uuids.push(id) } const pop = (id) => { uuids = uuids.filter((x) => x !== id) } module.exports = { get, push, pop };