0.0.1 • Published 6 years ago

knightjs v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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. *