https://github.com/alestor123/web-power
This is a simple code for sending power off / sleep / reboot commands to the device via web
https://github.com/alestor123/web-power
power sleep web
Last synced: 2 months ago
JSON representation
This is a simple code for sending power off / sleep / reboot commands to the device via web
- Host: GitHub
- URL: https://github.com/alestor123/web-power
- Owner: alestor123
- License: mit
- Created: 2020-11-17T11:30:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T12:23:08.000Z (over 4 years ago)
- Last Synced: 2025-03-11T01:57:21.494Z (3 months ago)
- Topics: power, sleep, web
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Web Power
![]()
#
> 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 ``
# Example
``web-power 3000``# Env
## Creating Env
``touch .env``# Limit
> You can set limit in env file
# Env Example
## Usage
```
PORT=
```
## Example```
PORT=3000
```