1.0.7 • Published 2 years ago

servn v1.0.7

Weekly downloads
3
License
-
Repository
github
Last release
2 years ago

Servn

Basically, I wanted a Browserify CLI tool that watches files and serves over HTTPS, and thus, Servn was born

Installation

npm install -g servn

Usage

servn -f main.js

Help

  Servn

  Usage: servn ...args [options]

  Options:
    --host       define the host
    -f, --file   define the entry file
    -e, --entry  define the entry path
    -p, --port   define the port
    -s, --tls    whether to use https or http
    -d, --dir    define the TLS cert directory
    -c, --cert   define the TLS cert
    -k, --key    define the TLS key
    -h, --help   show this dialog

  Examples:
    servn
    servn . -p 3000
    servn ~/project --host example.com --file index.js

References

local https tutorial

mkcert

mkcert -install
mkcert localhost
1.0.7

2 years ago

1.0.2

2 years ago

0.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.1

6 years ago