Skip to content

0.1.1 Do a beautiful code

Compare
Choose a tag to compare
@cedced19 cedced19 released this 17 Nov 20:02
· 8 commits to master since this release

Do a beautiful code.

Now you must add the path of the http server:

var server = require('fast-http'),
    port = 80,
    root = __dirname;

server(port, root);

// __dirname is the name of the directory that the currently executing script resides in.

To update fast-http from npm:

$ npm update --save fast-http

There are a CLI, to install fast-http-cli from npm:

$ npm install -g fast-http-cli