Releases: RIAEvangelist/node-http-server
Releases · RIAEvangelist/node-http-server
v8.1.6
v8.1.5
Added default support for xml, and font content types
v8.1.4
v8.1.3 MIT License
Just switched to MIT licence
v8.1.2
stopped clobbering process.argv
v8.1.1
updated js mime type to RFC compatible application/javascript
v8.1.0
body automatically populated on request object to allow better POST PATCH PUT etc
more suitable for faster API development
doc updates for request object
key | type | value |
---|---|---|
request.body | string | request body |
request.url | string | processed uri |
request.uri | object | parsed url information and query |
request.serverRoot | string | local dir for publicly served data |
key | type | value |
---|---|---|
uri.protocol | string | protocol of request |
uri.host | string | hostname for domain |
uri.hostname | string | hostname for domain |
uri.query | object | parsed querystring |
uri.port | number | port request was received on |
v8.0.0
major fix for main link in package.json
v7.1.0
Changed CLI command from nodeserver to node-http-server to avoid conflicts with any globally installed packages.
start a server with :
$ sudo npm i -g node-http-server
$ node-http-server verbose=true
v7.0.0
CLI support with nodeserver
command right in terminal
ES6 updates
Class Decorations
Much better docs in the readme and on the node-http-server docs site