keep-app-alive
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

keep-app-alive

When utilizing a cloud platform that spins down servers due to inactivity, utilize this package to occasionally ping the server and keep your instance awake.

How to install

npm i keep-app-alive

How to use

const keepAlive = require('keep-app-alive');
const pingTimer = 50000(time in ms)

keepAlive('https://your-server-url.com', pingTimer);

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i keep-app-alive

    Weekly Downloads

    2

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    3.09 kB

    Total Files

    5

    Last publish

    Collaborators

    • clintengineer