node-http-server
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "node-http-server", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "A very simple and fast http server for node, bash, and spawnable from C, Python etc. It is lightweight and great for embedded solutions as well as everyday development or public facing apps.", | ||
@@ -5,0 +5,0 @@ "main": "server/http.js", |
@@ -10,7 +10,11 @@ Node http server | ||
[![Package Quality](http://npm.packagequality.com/shield/node-http-server.svg)](http://packagequality.com/#?package=node-http-server) | ||
npm info : [See npm trends and stats for node-http-server](http://npm-stat.com/charts.html?package=node-http-server&author=&from=&to=) | ||
![node-http-server npm version](https://img.shields.io/npm/v/node-http-server.svg) ![supported node version for node-http-server](https://img.shields.io/node/v/node-http-server.svg) ![total npm downloads for node-http-server](https://img.shields.io/npm/dt/node-http-server.svg) ![monthly npm downloads for node-http-server](https://img.shields.io/npm/dm/node-http-server.svg) ![npm licence for node-http-server](https://img.shields.io/npm/l/node-http-server.svg) | ||
[![http server package quality](http://npm.packagequality.com/badge/node-http-server.png)](http://packagequality.com/#?package=node-http-server) | ||
This work is licenced via the [DBAD Public Licence](http://www.dbad-license.org/). | ||
GitHub info : | ||
![node-http-server GitHub Release](https://img.shields.io/github/release/RIAEvangelist/node-http-server.svg) ![GitHub license node-http-server license](https://img.shields.io/github/license/RIAEvangelist/node-http-server.svg) ![open issues for node-http-server on GitHub](https://img.shields.io/github/issues/RIAEvangelist/node-http-server.svg) | ||
Package Quality : | ||
![node-http-server Package Quality](http://npm.packagequality.com/badge/node-http-server.png) | ||
---- | ||
@@ -47,3 +51,3 @@ | ||
domains : {} | ||
contentType : { | ||
@@ -62,5 +66,5 @@ html : 'text/html', | ||
} | ||
restrictedType: {} | ||
errors : { | ||
@@ -116,7 +120,7 @@ headers : { | ||
to force verbose terminal output. This can be helpful if you have many servers in a single app and want them all to be verbose right now for debugging or testing purposes. | ||
var server=require('node-http-server'); | ||
console.log(server); | ||
server.deploy( | ||
@@ -127,4 +131,4 @@ { | ||
} | ||
); | ||
); | ||
--- | ||
@@ -136,3 +140,3 @@ #### verbose | ||
console.log(server); | ||
server.deploy( | ||
@@ -145,10 +149,10 @@ { | ||
); | ||
--- | ||
#### advanced | ||
var server=require('node-http-server'); | ||
console.log(server); | ||
var config=server.configTemplate(); | ||
@@ -160,3 +164,3 @@ config.errors['404'] = 'These are not the files you are looking for...'; | ||
config.root = '~/myApp/' | ||
server.deploy(config); | ||
@@ -170,3 +174,3 @@ | ||
console.log(server); | ||
server.deploy( | ||
@@ -193,3 +197,3 @@ { | ||
forever --uid nodeServer -a start ~/git/node-http-server/server/http.js root=~/myApp/ port=9999 launch=now | ||
This can be set as a ``.profile`` command or a ``.bash_rc`` command as well if you want to launch the server every time the computer boots up. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21628
190