UNPKG

poll-server-check

Version:

An npm package that checks if the server is running or if it's down. If the server is down, it repeatedly sends a check API to the backend to wake it up and displays toast notification of the current status.

5 lines (3 loc) 156 B
const clientCheck = require('./src/cjs/client.ts'); const serverCheck = require('./src/cjs/server.ts'); module.exports = { clientCheck, serverCheck };