Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.04 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.04 KB

Web Power

views

views

This is a simple code for sending power off / sleep / reboot commands to the device via web

Documentation

Quick use

npx web-power

Installation

npm i web-power -g

Usage

web-power <port number>

Example

web-power 3000

Env

Creating Env

touch .env

Limit

You can set limit in env file

Env Example

Usage

PORT=<Port>

Example

PORT=3000