knightjs
v0.0.1
Published
A simple static server on Top of Node.js.
Downloads
3
Readme
knight
knight
is a simple static server without configuration on the top of Node.js.
Install globally
Installation via npm
:
npm install knightjs -g
Usage:
knight [path] [options]
path
defaults to ./
, your current target directory.
Available Options:
-p
or --port
port to use (defaults to 4000)
Development
Checkout this repository locally, then:
$ npm i [OR IF YOU USE YARN] yarn
$ node bin/knight
- Now you can visit
http://localhost:4000
to view your server. *