Skip to content

Commit

Permalink
added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alestor123 committed Nov 21, 2020
1 parent 75df085 commit 646a5ec
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions README.md
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
```

0 comments on commit 646a5ec

Please sign in to comment.