servn

1.0.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i servn

Weekly Downloads

1

Version

1.0.7

License

none

Unpacked Size

9.78 kB

Total Files

6

Last publish

Collaborators

  • basedwon