Skip to content

skyang/knight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple static server on top of Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published