{"_id":"@bull-horizon/express","_rev":"8-f4fc558783f06417460838cfc4445f0f","name":"@bull-horizon/express","dist-tags":{"latest":"6.4.0"},"versions":{"6.0.1":{"name":"@bull-horizon/express","version":"6.0.1","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.0.1","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"505b69c087a86947cc1409d15da7e1fcb55d2b88","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.0.1.tgz","fileCount":8,"integrity":"sha512-Rh12N3XDExkToYo7/KKui3yJOjdNH2u94uz2NWJOHG8uE40ARFrmcLoSN3Vl+4tH02urbKQD/M/+B88jzyAIAw==","signatures":[{"sig":"MEQCICeeq/QV9ISUsXpW1PtxpRn09iVKIA+PSrFmboMbY6b6AiBh5/zDzqFUaNQqw78X8Cp50Qz+MU12tGwkcBq22Zcbjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23438},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.0.1","@as-integrations/express4":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.0.1_1786118244477_0.2560110867533705","host":"s3://npm-registry-packages-npm-production"}},"6.0.2":{"name":"@bull-horizon/express","version":"6.0.2","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.0.2","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"9cddd73efa383b11b33ef964d381bf6f6073831b","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.0.2.tgz","fileCount":8,"integrity":"sha512-s+59c8juzu6fmLuFl15UgLoGG0wHjgvm4ea56l/fo+hYhGzwRGXfR6EeENMrn+qI/wZfCddNDXb/+WIPvMeVIQ==","signatures":[{"sig":"MEYCIQDn6AFMs5LdwBCdiOSUGtLJE9geE2ImDhdNfCEp5PERQgIhAKn/rjfS+u45v6qJImWibktGq45LyjIujkkdK7UJXO7/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23596},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.0.2","@as-integrations/express4":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.0.2_1786130957583_0.183275507653909","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"@bull-horizon/express","version":"6.1.0","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.1.0","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"c3ad49972522dc26bb33b559030319d50d4348d7","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.1.0.tgz","fileCount":8,"integrity":"sha512-g7Ft3eLe/ML65Ot1KpSGpZp7Bsy2BeJFehUgbMmvfRyzYTN3DC4V0qVepvoWkHPM2QemGh2Sh2fml5sjpfkGXw==","signatures":[{"sig":"MEQCICJNrnYaTEldb+jCCbzkOUpdwUOngyVLvlFgSiS454fQAiAd/M0f3BTXtXDblMAaRZGxwJcLrQ83soyMfwN7zPRIOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23754},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.1.0","@as-integrations/express4":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.1.0_1786141616097_0.21873930312993806","host":"s3://npm-registry-packages-npm-production"}},"6.2.0":{"name":"@bull-horizon/express","version":"6.2.0","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.2.0","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"c68c00f95ceaf687edf0a6798921632f28943e25","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.2.0.tgz","fileCount":8,"integrity":"sha512-hehSBaGwCWEwE58flc8xkJEA2QTxoUv+um9WI3i1E+Yl/yzJq3jj8ZcGjC7V96QgZnl5uQH4iv35A6adiOsfDQ==","signatures":[{"sig":"MEYCIQCMNd7Vo2Nrv8FGuaHhd7aOBrN4+EyhDNbBeQ3OmcYhuAIhAPyyytYzkeqL7nzUHeMPfXe4eKftF0Q4GkWx86U3xtbw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23808},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.2.0","@as-integrations/express4":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.2.0_1786288782034_0.7617329742236971","host":"s3://npm-registry-packages-npm-production"}},"6.2.1":{"name":"@bull-horizon/express","version":"6.2.1","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.2.1","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"b9d5aeb1f722b3d035ab223f6f3e2760ef797815","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.2.1.tgz","fileCount":8,"integrity":"sha512-uOMeUb6CB2NZXX8f2P3MMt9A+JLAlVc7FP6PboIhWT2XbztUouRkdT767+LPAQ5YSJ9vbgFSOzPxo+ykvmjBMg==","signatures":[{"sig":"MEYCIQDltWg2OuBkjkkSOI9pcnd75wJCk7CoTjzi1MXsJzQHZgIhAOmi6qut9NMMJPG782pTtPBA5Rd+lcwfEaQceMKi1IaB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23609},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.2.1","@as-integrations/express4":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.2.1_1786289276060_0.8093209967710133","host":"s3://npm-registry-packages-npm-production"}},"6.3.0":{"name":"@bull-horizon/express","version":"6.3.0","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.3.0","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"f09625b9a3680b97b8c93ea5194094337b985533","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.3.0.tgz","fileCount":8,"integrity":"sha512-5AS7LERr871dBCWfU5ofe/RJSaFaJfpWiDGeHRjH8kGf6IhYwIk8BS1C6tXblCKR0dPHAcws6WlSaO/u1bu4nQ==","signatures":[{"sig":"MEQCIAX0wj8/X5gUFWq2CDvJrkn6bumgIFZDrsF/AayKcjZMAiBm43NOZLryuX6Vz4Fi9l+DlypZJCWeKqry073O1RMHOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23666},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.3.0","@as-integrations/express4":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.3.0_1786311248811_0.20817824321615608","host":"s3://npm-registry-packages-npm-production"}},"6.3.1":{"name":"@bull-horizon/express","version":"6.3.1","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","_id":"@bull-horizon/express@6.3.1","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"homepage":"https://github.com/marconneves/bull-horizon#readme","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"dist":{"shasum":"a906dc09e1f23aa793bc1dd75df3088c8810f8a9","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.3.1.tgz","fileCount":8,"integrity":"sha512-X5Q/Dxl1IMA1cKC319lMnfe/cgPkD5dFVsCNjXUm5PeZFMjPt1QMH2YwZGdjfIVVWZQZs5vv7kb7xdzsyqVs2Q==","signatures":[{"sig":"MEUCIG+h+QPaZKHLKm+xBNpQM0jhLVuKr244tK5jXuLbeIHrAiEAsk8DjSlenMrgf/6ili3gpvTTMnGNw0gNlG/oBAV48oI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23801},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","scripts":{"dev":"tsc --watch","build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc"},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"repository":{"url":"git+https://github.com/marconneves/bull-horizon.git","type":"git","directory":"packages/express"},"_npmVersion":"10.8.2","description":"bull-horizon for express","directories":{},"_nodeVersion":"22.19.0","dependencies":{"cors":"^2.8.5","graphql":"^16.0.0","@apollo/server":"^4.0.0","@bull-horizon/root":"^6.3.1","@as-integrations/express4":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.17.1","typescript":"^4.7.4","@types/cors":"^2.8.13","@types/node":"^18.19.0","@types/express":"^4.17.11"},"peerDependencies":{"express":"4.x"},"_npmOperationalInternal":{"tmp":"tmp/express_6.3.1_1786312766112_0.11327577468650718","host":"s3://npm-registry-packages-npm-production"}},"6.4.0":{"name":"@bull-horizon/express","version":"6.4.0","description":"bull-horizon for express","keywords":["bull"],"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/marconneves/bull-horizon.git","directory":"packages/express"},"license":"MIT","publishConfig":{"access":"public"},"types":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run compile","clean":"rm -rf ./dist","compile":"tsc","dev":"tsc --watch"},"main":"dist/index.js","dependencies":{"@apollo/server":"^4.0.0","@as-integrations/express4":"^1.1.0","@bull-horizon/root":"^6.4.0","cors":"^2.8.5","graphql":"^16.0.0"},"peerDependencies":{"express":"4.x"},"devDependencies":{"@types/cors":"^2.8.13","@types/express":"^4.17.11","@types/node":"^18.19.0","express":"^4.17.1","typescript":"^4.7.4"},"gitHead":"56060c20da8134cce74efaf278dd63b81cdcab4f","_id":"@bull-horizon/express@6.4.0","bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"homepage":"https://github.com/marconneves/bull-horizon#readme","_nodeVersion":"22.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-8fU5k/QOi4OKSnS7Wh2C7ns2bHP23pzTfHG9x9X0y7V5qz//Cd9jk5mj0ZPsRQFruCjj375boqu6TvMoxSBW8g==","shasum":"1657f9bbad70fb3df69dc9df29b86ebc3552e868","tarball":"https://registry.npmjs.org/@bull-horizon/express/-/express-6.4.0.tgz","fileCount":8,"unpackedSize":28438,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBCPjAx1bkIvgPExdLWIHR8fAjk6xtqKdbklAjgMUQyeAiBiD93upVkmUvY/pJK4QCw5xD//s0+TUf5CfQ7JOrJ74Q=="}]},"_npmUser":{"name":"marconwillian","email":"marconwillian@protonmail.com"},"directories":{},"maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/express_6.4.0_1786469588889_0.32474296139337233"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-07T15:57:24.293Z","modified":"2026-08-11T17:33:09.269Z","6.0.1":"2026-08-07T15:57:24.631Z","6.0.2":"2026-08-07T19:29:17.736Z","6.1.0":"2026-08-07T22:26:56.223Z","6.2.0":"2026-08-09T15:19:42.181Z","6.2.1":"2026-08-09T15:27:56.201Z","6.3.0":"2026-08-09T21:34:08.959Z","6.3.1":"2026-08-09T21:59:26.279Z","6.4.0":"2026-08-11T17:33:09.089Z"},"bugs":{"url":"https://github.com/marconneves/bull-horizon/issues"},"author":{"name":"Ilya Strus","email":"strax1990@gmail.com"},"license":"MIT","homepage":"https://github.com/marconneves/bull-horizon#readme","keywords":["bull"],"repository":{"type":"git","url":"git+https://github.com/marconneves/bull-horizon.git","directory":"packages/express"},"description":"bull-horizon for express","maintainers":[{"name":"marconwillian","email":"marconwillian@protonmail.com"}],"readme":"# @bull-horizon/express\n\n[Express](https://github.com/expressjs/express) adapter for [bull-horizon](https://github.com/marconneves/bull-horizon)\n\n## Usage\n\n```sh\nnpm i @bull-horizon/express\n```\n\n```typescript\nimport { BullMonitorExpress } from '@bull-horizon/express';\nimport { BullAdapter } from '@bull-horizon/root/dist/bull-adapter';\n// for BullMQ users\n// import { BullMQAdapter } from \"@bull-horizon/root/dist/bullmq-adapter\";\nimport Express from 'express';\nimport Queue from 'bull';\n\n(async () => {\n  const app = Express();\n  const monitor = new BullMonitorExpress({\n    queues: [\n      new BullAdapter(new Queue('1', 'REDIS_URI')),\n      // readonly queue\n      new BullAdapter(new Queue('2', 'REDIS_URI'), { readonly: true }),\n    ],\n    // enables graphql introspection query. false by default if NODE_ENV == production, true otherwise\n    gqlIntrospection: true,\n    // Metrics collection is OFF by default. Without it the dashboard still\n    // shows live job counts (sidebar, Overview), but there is no throughput\n    // chart and no \"Metrics history\" screen, and /metrics exports gauges only.\n    metrics: {\n      // collect metrics every X\n      // where X is any value supported by https://github.com/kibertoad/toad-scheduler\n      collectInterval: { minutes: 1 },\n      // Detail decays with age instead of history being truncated. Defaults\n      // below cover 90 days in ~1.5MB of redis per queue; storing the same\n      // window raw at one-minute resolution would take ~36MB.\n      retention: {\n        raw: 4320, // 3 days at the interval above\n        rollups: [\n          { everyMs: 3_600_000, keep: 720 }, // 30 days hourly\n          { everyMs: 43_200_000, keep: 180 }, // 90 days, 12h buckets\n        ],\n      },\n      // disable metrics for specific queues\n      blacklist: ['1'],\n    },\n    // Prometheus/OpenMetrics scrape endpoint, mounted relative to baseUrl.\n    // OFF by default: it has no authentication of its own and publishes queue\n    // names as label values. See examples/grafana.\n    prometheus: { enabled: true, path: '/metrics' },\n  });\n  await monitor.init();\n  app.use('/my/url', monitor.router);\n  app.listen(3000);\n\n  // replace queues\n  monitor.setQueues([new BullAdapter(new Queue('3', 'REDIS_URI'))]);\n})();\n```\n","readmeFilename":"README.md"}