Skip to content

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

License

Notifications You must be signed in to change notification settings

alestor123/WEB-POWER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published