-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75df085
commit 646a5ec
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<h1 align=center>Web Power</h1> | ||
<p align=center> | ||
<img src="https://raw.githubusercontent.com/alestor123/WEB-POWER/master/public/public/assets/image/icon.svg" width=300 alt=views> | ||
</p> | ||
|
||
<p align=center> | ||
<img src="https://img.shields.io/github/license/alestor123/WEB-POWER" alt=views > | ||
<a href="https://github.com/alestor123/WEB-POWER/issues"> | ||
<img src="https://img.shields.io/github/issues-raw/alestor123/WEB-POWER"></a> | ||
<a href="https://www.npmjs.com/package/web-powers"><img src="https://img.shields.io/npm/v/web-power"></a> | ||
</p> | ||
|
||
# | ||
> This is a simple code for sending power off / sleep / reboot commands to the device via web | ||
<p align=center> | ||
<a href="https://npmjs.org/package/web-power"> | ||
<img src="https://nodei.co/npm/web-power.png"></a> | ||
</p> | ||
# 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 | ||
``` |