Skip to content

orkan/serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serve v1.1.4

Simple local file server with options.

Installation

$ npm i @orkans/serve

Usage

serve [options]

Options:
  -V, --version         output the version number
  -p, --port <number>   port number (default: 3000)
  -d, --dir <path>      home dir (default: current working dir)
  -c, --clip            copy url to clipboard
  -o, --open [browser]  open browser. Use 'cfg' to load settings from ./open.json file
  -f, --file [path]     open path in browser
  --debug               output extra debugging
  -h, --help            display help for command

About

Requirements

Node ^20

Author

Orkan

License

MIT

Updated

Mon, 07 Aug 2023 17:04:57 +02:00