IgorKowalczyk / repl-uptime

πŸ€™ Don't let your repl go to sleep! Create a http server with just one line of code and keep pinging it!

Home Page:https://npm.im/@igorkowalczyk/repl-uptime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replit Logo

Repl-uptime

πŸ€™ Don't let your repl go to sleep! Create a http server with just one line of code and keep pinging it!

GitHub License NPM Version NPM Downloads


πŸ“₯ Installation

Node.js v7.7.3 or newer is required.

npm install @igorkowalczyk/repl-uptime
yarn add @igorkowalczyk/repl-uptime
pnpm add @igorkowalczyk/repl-uptime

✨ Features

  • No dependencies
  • No required configuration
  • Easy to use (just one line of code)
  • Blazing fast!

πŸ“¦ Examples

No Config

/// CommonJS
require("@igorkowalczyk/repl-uptime").config();
/// ES6
import { config } from "@igorkowalczyk/repl-uptime";
config();

With Config

/// CommonJS
require("@igorkowalczyk/repl-uptime").config({
 port: 8080,
 path: "/",
 message: "πŸ€™ Don't let your repl go to sleep!",
 debug: true,
});
/// ES6
import { config } from "@igorkowalczyk/repl-uptime";
config({
 port: 8080,
 path: "/",
 message: "πŸ€™ Don't let your repl go to sleep!",
 debug: true,
});

⁉️ Issues

If you have any issues with the page please create new issue here

πŸ“₯ Pull Requests

When submitting a pull request:

  • Clone the repo.
  • Create a branch off of master and give it a meaningful name (e.g. my-awesome-new-feature).
  • Open a pull request on GitHub and describe the feature or fix.

πŸ“‹ License

This project is licensed under the MIT. See the LICENSE file for details


This package is an independent project and is not affiliated, endorsed, or associated with Replit in any way.

About

πŸ€™ Don't let your repl go to sleep! Create a http server with just one line of code and keep pinging it!

https://npm.im/@igorkowalczyk/repl-uptime

License:MIT License


Languages

Language:JavaScript 100.0%