health-server

a standalone http health check endpoint

health-server

starts an http server that returns statusCode: 200and json server info at GET /health

ideal for projects that don't already run a web server but needs a health check for CI or uptime checks

you can add GET /healthto an existing server with health-route

install

npm install health-server

test

npm test

usage

see test.js

Repository

http://github.com/tphummel/health-server.git


上一篇:health-route
下一篇:前端性能优化之----静态文件客户端离线缓存_20191110

相关推荐

官方社区

扫码加入 JavaScript 社区