Skip to content

Releases: RIAEvangelist/node-http-server

v8.1.6

13 Aug 23:33
9141068
Compare
Choose a tag to compare

added default support for mjs and cjs file types

v8.1.5

17 Jan 02:30
ead1568
Compare
Choose a tag to compare

Added default support for xml, and font content types

v8.1.4

02 Jul 14:48
Compare
Choose a tag to compare

While you can add any content type you want to config.contentType shown in the examples, svg is common enough that I added it to the default now. Enhancement from #25

v8.1.3 MIT License

10 Mar 21:18
Compare
Choose a tag to compare

Just switched to MIT licence

v8.1.2

24 Aug 09:53
Compare
Choose a tag to compare

stopped clobbering process.argv

v8.1.1

23 Aug 14:47
Compare
Choose a tag to compare

updated js mime type to RFC compatible application/javascript

v8.1.0

11 Aug 06:09
Compare
Choose a tag to compare

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

07 Aug 20:55
Compare
Choose a tag to compare

major fix for main link in package.json

v7.1.0

30 Jul 03:02
Compare
Choose a tag to compare

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

25 Jul 08:47
Compare
Choose a tag to compare

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