This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

koa-glitch-keepalive

1.1.0 • Public • Published

Travis Codecov dependencies npm node License

koa-glitch-keepalive

A koa middleware that keeps the Glitch project alive.

Inspired by hubot-heroku-keepalive

Installation

npm i -S koa koa-glitch-keepalive

const Koa = require('koa');
const keepalive = require('koa-glitch-keepalive');
 
const app = new Koa();
 
app.use(keepalive());
app.use(ctx => {
  ctx.body = 'Hello, world!';
});
 
app.listen(process.env.PORT);

Readme

Keywords

Package Sidebar

Install

npm i koa-glitch-keepalive

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

2.53 kB

Total Files

3

Last publish

Collaborators

  • matzkoh