v3-uptime-router

0.0.1 • Public • Published

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.

Package Sidebar

Install

npm i v3-uptime-router

Weekly Downloads

2

Version

0.0.1

License

ISC

Last publish

Collaborators

  • hqmobile