Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

hemera-knabe

1.0.2 • Public • Published

Hemera-knabe package

npm styled with prettier

Collect a report about your service dependencies and send it to pattern topic:knabe (default).

Usage

const hemera = new Hemera(nats)
hemera.use(require('hemera-knabe'))
hemera.ready(() => {
  hemera.add(`topic:knabe`, req => console.log(req))
  hemera.sendKnabeReport()
})

Report

{
  "dependencies": ["math", "knabe"], // array of topics
  "node": {
    "name": "hemera-starptech-40ec88eebf6848009db7597ed0309512", // config.name
    "tag": "" // config.tag
  }
}

Install

npm i hemera-knabe

DownloadsWeekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.43 kB

Total Files

5

Last publish

Collaborators

  • avatar