hapi-routes-status

Exposes a status route for your node.js/hapi projects.

Showing:

Popularity

Downloads/wk

12

GitHub Stars

11

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

4

Size (min+gzip)

103.3KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Build Status Coverage Status NPM Version Dependency Status NPM Downloads Issues HAPI 8.0 API Documentation

(C) 2014 Martin Wawrusch

NOTE: For hapi < 8 use version 1.0.x

Exposes a /status route which returns a json object similar to this:

{
  running: true,
  uptime: 12,
  memoryUsage: {
    rss: 57384960,
    heapTotal: 56160000,
    heapUsed: 19359568
  },
  versions: {
    http_parser: "1.0",
    node: "0.10.22",
    v8: "3.14.5.9",
    ares: "1.9.0-DEV",
    uv: "0.10.19",
    zlib: "1.2.3",
    modules: "11",
    openssl: "1.0.1e"
  },
  droneId: 41309
}

See also

and additionally

Contributing

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the package.json, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright (c) 2014 Martin Wawrusch

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100