keep-apps-active
v1.0.1
Published
keep active to prevent cold starts for your nodejs express apps hosted on free plan for render.com or heroku.com or any other cloud provider
Downloads
19
Readme
Keep Active
keep active to prevent cold starts for your nodejs express apps hosted on free plan for render.com or heroku.com or any other cloud provider
Usage
const express = require('express');
const { keepActiveController } = require('keep-apps-active');
const app = express();
// Other app configuration
keepActiveController(app);
app.listen(3000, () => {
console.log('Server is running on port 3000');
});
Installation
npm install keep-apps-active