node-replit-uptimer
v3.0.0-security
Published
Don't let your replit go offline, Create a http server with just one line of code and keep pinging to keep your project online!
Downloads
3
Readme
node-replit-uptimer
Support: https://teamarcades.xyz/dc NPM: npmjs.com/package/node-replit-uptimer
Installation
npm i node-replit-uptimer
npm i k4itrun/node-replit-uptimer
yarn add node-replit-uptimer
pnpm add node-replit-uptimer
Features
- No dependencies
- No configuration required
- Easy to use (only one line of code)
- At full speed!
Examples
no configuration
new (require("node-replit-uptimer"))();
with configuration
new (require("node-replit-uptimer"))({
port: 3000, // Port on which the server will run
path: "/your-path", // Path to which the server will respond
message: "Hello, World!", // Custom reply message
debug: true // Enable debug mode (optional)
});
- or
const Uptimer = require("node-replit-uptimer");
const server = new Uptimer({
port: 3000, // Port on which the server will run
path: "/your-path", // Path to which the server will respond
message: "Hello, World!", // Custom reply message
debug: true // Enable debug mode (optional)
});
Issues
If you have any issues with the page, please create new issues here
Aid applications
When submitting a help request:
- Clone the repository.
- Create a branch from master and give it a meaningful name (for example, my-new-new-feature).
- Open a help request on GitHub and describe the new feature or solution.