0.0.1 • Published 7 years ago
v3-uptime-router v0.0.1
v2-uptime-router
An express router that adds an uptime endpoint.
Usage.
const express = require('express') const router = require('v3-uptime-router');
const app = express(); app.use('/', router);
app.listen(process.env.PORT || 8080);
Version 0.0.1
- Created a router that can be mounted on an express based app that will return a 200 OK and a JSON object with an upSince key holding the value of when the router was required.
0.0.1
7 years ago