{"_id":"node-http-server","_rev":"2428319","name":"node-http-server","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.","dist-tags":{"latest":"8.1.5"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"time":{"modified":"2022-01-17T02:41:21.000Z","created":"2014-01-15T01:56:48.438Z","8.1.5":"2022-01-17T02:30:40.727Z","8.1.4":"2021-07-02T14:48:33.524Z","8.1.3":"2020-11-12T06:37:52.874Z","8.1.2":"2017-08-24T09:54:34.390Z","8.1.1":"2017-08-23T14:48:37.661Z","8.1.0":"2017-08-11T06:10:09.641Z","8.0.0":"2017-08-07T20:56:14.997Z","7.1.0":"2017-07-30T03:02:37.183Z","7.0.0":"2017-07-25T08:47:23.445Z","6.2.1":"2016-09-19T21:30:47.825Z","6.2.0":"2016-09-19T21:24:36.995Z","6.1.1":"2016-09-13T02:06:16.123Z","6.1.0":"2016-09-12T06:57:40.877Z","6.0.0":"2016-09-10T23:12:30.687Z","5.1.0":"2016-02-25T19:18:31.172Z","5.0.2":"2016-02-03T07:04:38.396Z","5.0.1":"2016-02-03T07:02:25.259Z","5.0.0":"2016-02-03T06:54:04.420Z","4.5.2":"2016-01-14T00:02:23.816Z","4.5.1":"2016-01-04T08:12:44.011Z","4.5.0":"2016-01-04T05:23:08.655Z","3.0.5":"2015-09-20T20:41:01.065Z","3.0.4":"2015-09-20T20:38:04.260Z","3.0.3":"2015-09-20T20:36:59.272Z","3.0.2":"2015-08-26T21:58:05.684Z","3.0.1":"2015-08-26T21:56:08.592Z","3.0.0":"2015-04-15T16:32:22.972Z","2.1.0":"2015-04-13T20:33:05.242Z","2.0.0":"2014-12-06T19:41:03.726Z","1.7.0":"2014-11-16T21:36:05.417Z","1.6.2":"2014-03-11T15:17:17.071Z","1.6.1":"2014-03-11T15:12:56.936Z","1.6.0":"2014-02-06T23:09:58.034Z","1.5.3":"2014-01-18T05:06:17.927Z","1.5.2":"2014-01-18T04:48:31.369Z","1.5.1":"2014-01-16T01:55:53.192Z","1.5.0":"2014-01-16T01:28:27.474Z","1.0.1":"2014-01-15T05:49:20.336Z","1.0.0":"2014-01-15T01:56:48.438Z"},"users":{"dockawash":true,"fassetar":true,"ronin161":true,"epjsmith":true,"mccataldo":true,"jason-g":true,"xama5":true,"temasm":true,"amiku":true},"author":{"name":"Brandon Nozaki Miller"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"versions":{"8.1.5":{"name":"node-http-server","version":"8.1.5","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"MIT","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"2.0.2","request":"*"},"dependencies":{},"gitHead":"ead15685728fe71ea68c96ad9487ecb019506bbc","_id":"node-http-server@8.1.5","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"575da6701a69d504f50b073e68667ea4ec99c282","size":171567,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.5.tgz"},"_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server_8.1.5_1642386640511_0.9436062680215933"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-17T02:40:51.630Z","publish_time":1642386640727,"_cnpm_publish_time":1642386640727},"8.1.4":{"name":"node-http-server","version":"8.1.4","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"MIT","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"2.0.2","request":"*"},"dependencies":{},"gitHead":"13f456a0ba655ada930c0ebe13a979727645f1d6","_id":"node-http-server@8.1.4","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"shasum":"e832c59a85f32ed46d280eff47979949e4c02518","size":173865,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.4.tgz"},"_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server_8.1.4_1625237313342_0.7402106089924971"},"_hasShrinkwrap":false,"publish_time":1625237313524,"_cnpm_publish_time":1625237313524},"8.1.3":{"name":"node-http-server","version":"8.1.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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"MIT","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"2.0.2"},"dependencies":{},"gitHead":"4b4fcff79b3f41debd994ad42e404855e28ba29e","_id":"node-http-server@8.1.3","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"shasum":"3d1cd192b6d3d58f11bda9ed9a57ce69755166fc","size":173848,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.3.tgz"},"_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server_8.1.3_1605163072715_0.32259207456686334"},"_hasShrinkwrap":false,"publish_time":1605163072874,"_cnpm_publish_time":1605163072874},"8.1.2":{"name":"node-http-server","version":"8.1.2","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"b89630cb11e19639092950da0564e2aea4463397","_id":"node-http-server@8.1.2","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"b92782e03d545b35bff8791ff8c741221a158b5a","size":168350,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.2.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-8.1.2.tgz_1503568474120_0.028985913144424558"},"publish_time":1503568474390,"_hasShrinkwrap":false,"_cnpm_publish_time":1503568474390},"8.1.1":{"name":"node-http-server","version":"8.1.1","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"ec4ff2745a5c14df72d13ee70ce83edc858c2333","_id":"node-http-server@8.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"7bd9dd7a4b4b9ddbe75b1803be61798339fc2475","size":168333,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.1.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-8.1.1.tgz_1503499717253_0.8221281415317208"},"publish_time":1503499717661,"_cnpm_publish_time":1503499717661,"_hasShrinkwrap":false},"8.1.0":{"name":"node-http-server","version":"8.1.0","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"9a142c35f5f531b63277472b89eaf2d23786bf92","_id":"node-http-server@8.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"c1680b6ac5247810d4035c28a357454b20053b8a","size":168312,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.1.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-8.1.0.tgz_1502431809558_0.9829206340946257"},"publish_time":1502431809641,"_cnpm_publish_time":1502431809641,"_hasShrinkwrap":false},"8.0.0":{"name":"node-http-server","version":"8.0.0","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.","main":"server/Server.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"536fca4c169f82b32beae849b9b7bac4ef9b3591","_id":"node-http-server@8.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"3632d5769dac5ddc838a793d68cac7215297227f","size":167589,"noattachment":false,"key":"/node-http-server/-/node-http-server-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-8.0.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-8.0.0.tgz_1502139374595_0.9633732060901821"},"publish_time":1502139374997,"_cnpm_publish_time":1502139374997,"_hasShrinkwrap":false},"7.1.0":{"name":"node-http-server","version":"7.1.0","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.","main":"server/http.js","directories":{"example":"example","doc":"docs","lib":"server"},"engines":{"node":">=6.5.0"},"bin":{"node-http-server":"bin/nhs.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"324c66e931997d4e519cef6d81728082b1c3961e","_id":"node-http-server@7.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"7f666e9933d02d9562524b8e09f01b952e853380","size":167584,"noattachment":false,"key":"/node-http-server/-/node-http-server-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-7.1.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-7.1.0.tgz_1501383757042_0.14553565182723105"},"publish_time":1501383757183,"_hasShrinkwrap":false,"_cnpm_publish_time":1501383757183},"7.0.0":{"name":"node-http-server","version":"7.0.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=6.5.0"},"bin":{"nodeserver":"bin/nodeserver.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","basic":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js","template":"node ./example/advanced/basicTemplate.js","cluster":"node ./example/basic/cluster-basicApp.js","docs":"docco-plus ./README.md ./example/* ./example/**/* ./server/* ./bin/* ./local-certs/* "},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"docco-plus":"^2.0.0"},"dependencies":{},"gitHead":"4337a50262dbe921b5985e11376be59ea5ca78fc","_id":"node-http-server@7.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"e6ad3e3c058ef0923ea4021aa6c35b4ac1ccea45","size":167352,"noattachment":false,"key":"/node-http-server/-/node-http-server-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-7.0.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-http-server-7.0.0.tgz_1500972443281_0.843738733092323"},"publish_time":1500972443445,"_cnpm_publish_time":1500972443445,"_hasShrinkwrap":false},"6.2.1":{"name":"node-http-server","version":"6.2.1","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"request":"^2.74.0"},"gitHead":"9c6956506963b6950d8944722dd7e8b3989e77be","_id":"node-http-server@6.2.1","_shasum":"c01149fc4e031a068559f4628fd131e5c09fbb71","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"c01149fc4e031a068559f4628fd131e5c09fbb71","size":25266,"noattachment":false,"key":"/node-http-server/-/node-http-server-6.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-6.2.1.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-http-server-6.2.1.tgz_1474320647594_0.9649407749529928"},"publish_time":1474320647825,"_cnpm_publish_time":1474320647825,"_hasShrinkwrap":false},"6.2.0":{"name":"node-http-server","version":"6.2.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"request":"^2.74.0"},"gitHead":"43b6daaf1106c5b18a8daab3e1f7157c351c253b","_id":"node-http-server@6.2.0","_shasum":"91b908a1c9c9a38a56f4721b7b9e3ea2729ae823","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"91b908a1c9c9a38a56f4721b7b9e3ea2729ae823","size":25266,"noattachment":false,"key":"/node-http-server/-/node-http-server-6.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-6.2.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-http-server-6.2.0.tgz_1474320276747_0.9222673384938389"},"publish_time":1474320276995,"_cnpm_publish_time":1474320276995,"_hasShrinkwrap":false},"6.1.1":{"name":"node-http-server","version":"6.1.1","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"request":"^2.74.0"},"gitHead":"271740defa98157ecacb72af47306c1ad4bdb74d","_id":"node-http-server@6.1.1","_shasum":"055de0095f38b1010e6fef58fa3393bcd17966ea","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"055de0095f38b1010e6fef58fa3393bcd17966ea","size":25055,"noattachment":false,"key":"/node-http-server/-/node-http-server-6.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-6.1.1.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-http-server-6.1.1.tgz_1473732375879_0.9041558455210179"},"publish_time":1473732376123,"_cnpm_publish_time":1473732376123,"_hasShrinkwrap":false},"6.1.0":{"name":"node-http-server","version":"6.1.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","devDependencies":{"request":"^2.74.0"},"gitHead":"7a41de94deb969f3bb0193ea0523e19c204f9e6b","_id":"node-http-server@6.1.0","_shasum":"1ff1db0a3c27d54d6c92b327081f8e34421bd0a0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"1ff1db0a3c27d54d6c92b327081f8e34421bd0a0","size":25052,"noattachment":false,"key":"/node-http-server/-/node-http-server-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-6.1.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-http-server-6.1.0.tgz_1473663460642_0.645404155831784"},"publish_time":1473663460877,"_cnpm_publish_time":1473663460877,"_hasShrinkwrap":false},"6.0.0":{"name":"node-http-server","version":"6.0.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js","https":"node ./example/basic/https-ONLY-basicApp.js","both":"node ./example/basic/https-basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"753edfce841257492c1de32c1913ed8c0891d393","_id":"node-http-server@6.0.0","_shasum":"58cd298f18c643286b9b16276b7da20cca61b658","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"58cd298f18c643286b9b16276b7da20cca61b658","size":23700,"noattachment":false,"key":"/node-http-server/-/node-http-server-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-6.0.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-http-server-6.0.0.tgz_1473549150463_0.951700740493834"},"publish_time":1473549150687,"_cnpm_publish_time":1473549150687,"_hasShrinkwrap":false},"5.1.0":{"name":"node-http-server","version":"5.1.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"4139d98d698f6745f76b28ca7c92fede60302610","_id":"node-http-server@5.1.0","_shasum":"b535a677da49002c7f00556133c703d47c36e177","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"b535a677da49002c7f00556133c703d47c36e177","size":11139,"noattachment":false,"key":"/node-http-server/-/node-http-server-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-5.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/node-http-server-5.1.0.tgz_1456427908991_0.07857513218186796"},"publish_time":1456427911172,"_cnpm_publish_time":1456427911172,"_hasShrinkwrap":false},"5.0.2":{"name":"node-http-server","version":"5.0.2","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"c998ceaa4da9784f280fb054226324b61b11faa5","_id":"node-http-server@5.0.2","_shasum":"b20afdb1d3ee546a787264cb192bec151b776c10","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"b20afdb1d3ee546a787264cb192bec151b776c10","size":10271,"noattachment":false,"key":"/node-http-server/-/node-http-server-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-5.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/node-http-server-5.0.2.tgz_1454483076337_0.3917132264468819"},"publish_time":1454483078396,"_cnpm_publish_time":1454483078396,"_hasShrinkwrap":false},"5.0.1":{"name":"node-http-server","version":"5.0.1","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"7f504438704e3158792aa7f8b36322ad1693224a","_id":"node-http-server@5.0.1","_shasum":"e4f5ba2b9f9d2a8b8a6769bd52b19be80321a7f3","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"e4f5ba2b9f9d2a8b8a6769bd52b19be80321a7f3","size":10250,"noattachment":false,"key":"/node-http-server/-/node-http-server-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-5.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/node-http-server-5.0.1.tgz_1454482944546_0.4820214919745922"},"publish_time":1454482945259,"_cnpm_publish_time":1454482945259,"_hasShrinkwrap":false},"5.0.0":{"name":"node-http-server","version":"5.0.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=1.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"48a3bd2a2077cacc6935882b54aecaefff9e9a70","_id":"node-http-server@5.0.0","_shasum":"42cf1a468bdd2e3e8b622036d08de2220be24a62","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"42cf1a468bdd2e3e8b622036d08de2220be24a62","size":10246,"noattachment":false,"key":"/node-http-server/-/node-http-server-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-5.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/node-http-server-5.0.0.tgz_1454482443689_0.8607133044861257"},"publish_time":1454482444420,"_cnpm_publish_time":1454482444420,"_hasShrinkwrap":false},"4.5.2":{"name":"node-http-server","version":"4.5.2","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=0.10.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"ef8be43553bd91e1ef0aa874412bda23d74e8ab8","_id":"node-http-server@4.5.2","_shasum":"70478b7f49b884c665010a206d5f0480991990ca","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"70478b7f49b884c665010a206d5f0480991990ca","size":10292,"noattachment":false,"key":"/node-http-server/-/node-http-server-4.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-4.5.2.tgz"},"publish_time":1452729743816,"_cnpm_publish_time":1452729743816,"_hasShrinkwrap":false},"4.5.1":{"name":"node-http-server","version":"4.5.1","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=0.10.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"fe0a167679f40b8be5949e5763a14b920ff5798b","_id":"node-http-server@4.5.1","_shasum":"72d584a804f7a5a285dcf9b1821227eaed100f72","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"72d584a804f7a5a285dcf9b1821227eaed100f72","size":10313,"noattachment":false,"key":"/node-http-server/-/node-http-server-4.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-4.5.1.tgz"},"publish_time":1451895164011,"_cnpm_publish_time":1451895164011,"_hasShrinkwrap":false},"4.5.0":{"name":"node-http-server","version":"4.5.0","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=0.10.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node ./example/basic/basicApp.js"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","node","embedded","fast","bash","c","python","light","lightweight"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"6e110ba99ec63314a98ea47a30131f756d48ca2a","_id":"node-http-server@4.5.0","_shasum":"bda93080588314d8287993be3589f36d9bc7f061","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"bda93080588314d8287993be3589f36d9bc7f061","size":10255,"noattachment":false,"key":"/node-http-server/-/node-http-server-4.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-4.5.0.tgz"},"publish_time":1451884988655,"_cnpm_publish_time":1451884988655,"_hasShrinkwrap":false},"3.0.5":{"name":"node-http-server","version":"3.0.5","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.","main":"server/http.js","directories":{"example":"example"},"engines":{"node":">=0.10.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"a4ac7bb39acb91cd9d6c734f9a8a29c8242e1271","_id":"node-http-server@3.0.5","_shasum":"f2f3f6a367152e57e66ff51be6517f847c11307d","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"f2f3f6a367152e57e66ff51be6517f847c11307d","size":6707,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.5.tgz"},"publish_time":1442781661065,"_cnpm_publish_time":1442781661065,"_hasShrinkwrap":false},"3.0.4":{"name":"node-http-server","version":"3.0.4","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"0ff29bbfce1dcbd51e02de6bdbe3cddd0c0d22cc","_id":"node-http-server@3.0.4","_shasum":"c9df4e640c10c270544887c4c08bf57ccbc81767","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"c9df4e640c10c270544887c4c08bf57ccbc81767","size":6671,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.4.tgz"},"publish_time":1442781484260,"_cnpm_publish_time":1442781484260,"_hasShrinkwrap":false},"3.0.3":{"name":"node-http-server","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"2ff9a9966eec0d149d597bb270cf1ebc3c2ec16e","_id":"node-http-server@3.0.3","_shasum":"90dc41e1ec6eacc331f18b42c39c7e7ef47bd648","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"90dc41e1ec6eacc331f18b42c39c7e7ef47bd648","size":6681,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.3.tgz"},"publish_time":1442781419272,"_cnpm_publish_time":1442781419272,"_hasShrinkwrap":false},"3.0.2":{"name":"node-http-server","version":"3.0.2","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"c95b25ff482d72eeb257d7727a0e462790e618c7","_id":"node-http-server@3.0.2","_shasum":"f899b6c9f6a3a924fc0fff68883eebb6783436ae","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"f899b6c9f6a3a924fc0fff68883eebb6783436ae","size":6558,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.2.tgz"},"publish_time":1440626285684,"_cnpm_publish_time":1440626285684,"_hasShrinkwrap":false},"3.0.1":{"name":"node-http-server","version":"3.0.1","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"2f7c6b60069ff499877bce46db4ee6020e206fdc","_id":"node-http-server@3.0.1","_shasum":"2b7f918deaef9bcc3401570d6f87d99361cf7ee4","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"2b7f918deaef9bcc3401570d6f87d99361cf7ee4","size":6560,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.1.tgz"},"publish_time":1440626168592,"_cnpm_publish_time":1440626168592,"_hasShrinkwrap":false},"3.0.0":{"name":"node-http-server","version":"3.0.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"0e759f1f495caeb8c0b694fb8942a6fb6de05a7f","_id":"node-http-server@3.0.0","_shasum":"a01e1f9cd6be8554a9449d4cc12d3b0552bdee56","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.10.37","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"a01e1f9cd6be8554a9449d4cc12d3b0552bdee56","size":6621,"noattachment":false,"key":"/node-http-server/-/node-http-server-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-3.0.0.tgz"},"publish_time":1429115542972,"_cnpm_publish_time":1429115542972,"_hasShrinkwrap":false},"2.1.0":{"name":"node-http-server","version":"2.1.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"c29b843bfe6977f95565b217bf1d27cef9ab8643","_id":"node-http-server@2.1.0","_shasum":"e7b5807eaf28435a0c5ffa448093d77e7f532214","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.10.37","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"e7b5807eaf28435a0c5ffa448093d77e7f532214","size":6552,"noattachment":false,"key":"/node-http-server/-/node-http-server-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-2.1.0.tgz"},"publish_time":1428957185242,"_cnpm_publish_time":1428957185242,"_hasShrinkwrap":false},"2.0.0":{"name":"node-http-server","version":"2.0.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","gitHead":"d001c3e03fa2e08cd3100f8ad90a6a65bdf7a9e7","_id":"node-http-server@2.0.0","_shasum":"fe608ebfde8cdd902d25b416d4f734ac1c07faea","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"dist":{"shasum":"fe608ebfde8cdd902d25b416d4f734ac1c07faea","size":6443,"noattachment":false,"key":"/node-http-server/-/node-http-server-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-2.0.0.tgz"},"publish_time":1417894863726,"_cnpm_publish_time":1417894863726,"_hasShrinkwrap":false},"1.7.0":{"name":"node-http-server","version":"1.7.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","_id":"node-http-server@1.7.0","dist":{"shasum":"5bd4718cfd368593f191fe6db654e6212a4db535","size":5402,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.7.0.tgz"},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1416173765417,"_cnpm_publish_time":1416173765417,"_hasShrinkwrap":false},"1.6.2":{"name":"node-http-server","version":"1.6.2","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","_id":"node-http-server@1.6.2","dist":{"shasum":"cec037c28c8a392d3b03ac76bcf213826a755b4b","size":4923,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.6.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1394551037071,"_cnpm_publish_time":1394551037071,"_hasShrinkwrap":false},"1.6.1":{"name":"node-http-server","version":"1.6.1","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","_id":"node-http-server@1.6.1","dist":{"shasum":"c6a75398bf5dc64ee82ce2780f8881e5b3cfd5b3","size":4931,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.6.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1394550776936,"_cnpm_publish_time":1394550776936,"_hasShrinkwrap":false},"1.6.0":{"name":"node-http-server","version":"1.6.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","_id":"node-http-server@1.6.0","dist":{"shasum":"a65746f04b62da8ad0bed7dddc497b7504f80a70","size":4909,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.6.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1391728198034,"_cnpm_publish_time":1391728198034,"_hasShrinkwrap":false},"1.5.3":{"name":"node-http-server","version":"1.5.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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.5.3","dist":{"shasum":"13f2f0d24207e9f1f5322251037413601b814631","size":4922,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.5.3.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1390021577927,"_cnpm_publish_time":1390021577927,"_hasShrinkwrap":false},"1.5.2":{"name":"node-http-server","version":"1.5.2","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.5.2","dist":{"shasum":"8ba7121d8bc364a158931ac20956c9b1d596a086","size":4744,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.5.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1390020511369,"_cnpm_publish_time":1390020511369,"_hasShrinkwrap":false},"1.5.1":{"name":"node-http-server","version":"1.5.1","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, and supports multiple domains and subdomains, as well as everyday development or public facing apps.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.5.1","dist":{"shasum":"c4b5f9e5faf8877695ca0f68303315bd8094f727","size":4935,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.5.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1389837353192,"_cnpm_publish_time":1389837353192,"_hasShrinkwrap":false},"1.5.0":{"name":"node-http-server","version":"1.5.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.5.0","dist":{"shasum":"7f0f2d9311e12b6f08562e77a140968b7c47a152","size":4914,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.5.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1389835707474,"_cnpm_publish_time":1389835707474,"_hasShrinkwrap":false},"1.0.1":{"name":"node-http-server","version":"1.0.1","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.0.1","dist":{"shasum":"315dfdab4b6cf833e42edf4cb8f8bbae9c260f72","size":4390,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1389764960336,"_cnpm_publish_time":1389764960336,"_hasShrinkwrap":false},"1.0.0":{"name":"node-http-server","version":"1.0.0","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.","main":"server/http.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-http-server.git"},"keywords":["http","server","embedded","fast","light","lightweight","bash","c","python","html","js","img","css"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"homepage":"https://github.com/RIAEvangelist/node-http-server","readmeFilename":"README.md","_id":"node-http-server@1.0.0","dist":{"shasum":"bbbf27166cde3779b69e3c364e2ed2d0a67b859c","size":3786,"noattachment":false,"key":"/node-http-server/-/node-http-server-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-http-server/download/node-http-server-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"peteward44","email":"peteward44@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"},{"name":"wsmckenz","email":"wsmckenz@cartewright.com"}],"publish_time":1389751008438,"_cnpm_publish_time":1389751008438,"_hasShrinkwrap":false}},"readme":"Node http server with https and proxy support\r\n================\r\n----\r\n\r\nSimple to use stand alone node HTTP and HTTPS Server you can spin up in seconds.\r\n\r\n- ***[TLDR; Quick start examples](#examples)***\r\n- ***[Server Class](#server-class)***\r\n- ***[Config Class](#config-class)***\r\n- ***[Basic use with cluster example](#basic-cluster-server)***\r\n\r\n\r\nSupport for building proxy servers has been added. Documentation coming in next release. [For now see the node-http-server proxy examples](https://github.com/RIAEvangelist/node-http-server/tree/master/example/proxy).\r\n\r\n` npm i node-http-server `\r\n\r\nnpm info :  [See npm trends and stats for node-http-server](http://npm-stat.com/charts.html?package=node-http-server&author=&from=&to=)  \r\n![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)\r\n\r\nGitHub info :  \r\n![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)  [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fbfd39a7b56643d290bb93db61b14db3)](https://www.codacy.com/app/RIAEvangelist/node-http-server?utm_source=github.com&utm_medium=referral&utm_content=RIAEvangelist/node-http-server&utm_campaign=badger)  \r\n\r\n[![node-http-server stats](https://nodei.co/npm/node-http-server.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/node-http-server)\r\n\r\nPackage Quality :  \r\n![node-http-server Package Quality](http://npm.packagequality.com/badge/node-http-server.png)\r\n\r\n[See the code documentation on riaevangelist.github.io](http://riaevangelist.github.io/node-http-server/)\r\n\r\n## cli use if you just want to test\r\n\r\nNow you can also use the node-http-server cli if you just want to spin up a basic file server to test something out quickly or share on the local network.\r\n\r\n```sh\r\n\r\n$ sudo npm i -g node-http-server\r\n\r\n//start a node-http-server from the current directory on the default port 8080\r\n$ node-http-server\r\n\r\n```\r\n\r\nYou can modify any of the config keys by passing their key value pairs as args.\r\n\r\n```sh\r\n\r\n//start a verbose node-http-server from the current directory on port 1942\r\n$ node-http-server port=1942 verbose=true\r\n\r\n```\r\n\r\n### quick npm script tests and examples\r\n\r\n```sh\r\n\r\n#node ./example/basic/basicApp.js\r\nnpm run basic\r\n\r\n#node ./example/basic/https-ONLY-basicApp.js\r\nnpm run https\r\n\r\n#node ./example/basic/https-basicApp.js\r\nnpm run both\r\n\r\n#node ./example/advanced/basicTemplate.js\r\nnpm run template\r\n\r\n#node ./example/basic/cluster-basicApp.js\r\nnpm run cluster\r\n\r\n```\r\n\r\n## writing a node http or https server\r\n\r\nThe below table shows all of the methods available on the server when you require this module.\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    server.deploy();\r\n\r\n```\r\n\r\nIf you want to create a custom Server or extend the Server Class you can require just the server class.\r\n\r\n```javascript\r\n\r\n    const Server=require('node-http-server').Server;\r\n\r\n    class MyCustomServer extends Server{\r\n      constructor(){\r\n        super();\r\n      }\r\n    }\r\n\r\n    const server=new MyCustomServer;\r\n    server.deploy();\r\n\r\n```\r\n\r\n\r\n## Server Class\r\n\r\n|Server Method or member       | params                                                              | returns / should return          | description |\r\n|------------------------------|---------------------------------------------------------------------|----------------------------------|-------------|\r\n|[deploy](#deploy)             | `userConfig` obj (optional), `readyCallback` fn (optional)          | returns void                     | Starts the server. if a config object is passed it will shallow merge it with a clean instantion of the Config class. |\r\n|[onRawRequest](#onrawrequest) | `request` obj, `response` obj, `serve` fn                           | should return true,false or void | Called immediately upon reciept of http(s) request. Called before any request parsing, useful for ` proxy servers ` and request modification, high speed handling, or rejection. Mildly more complex to work with because the request object has not been parsed and decorated with helper members. If this function returns true, the servers response lifecycle will be exited and you must manually call serve. this allows manual immediate and manual async serving. use the ` serve ` argument, ` server.serve ` or ` server.serveFile ` to manually serve the response. |\r\n|[onRequest](#onrequest)       | `request` obj, `response` obj, `serve` fn                           | should return true,false or void | Called when request received. If this function returns true, the servers response lifecycle will be exited and you must manually call serve. this allows manual immediate and manual async serving. use the ` serve ` argument, ` server.serve ` or ` server.serveFile ` to manually serve the response. |\r\n|[beforeServe](#beforeserve)   |`request` obj, `response` obj, `body` obj, `encoding` obj, `serve` fn| should return true,false or void | Called just before data is served to the client. If this function returns true, the servers response lifecycle will be exited and you must manually call serve. this allows manual immediate and manual async serving. use the ` serve ` argument, ` server.serve ` or ` server.serveFile ` to manually serve the response.   |\r\n|[afterServe](#afterserve)     |`request` obj                                                | void                                     | Called once data has been fully sent to client. |\r\n|[Config](#config-class)       | n/a                                                         | n/a                                      | This is a reference to the Default Config class. Use it to generate a complete config file based off of the default values and arguments passed in when launching the app. Will perform a shallow merge of default values and passed values if a config object passed.|\r\n|[Server](#server-class)       | n/a                                                         | n/a                                      | This is a reference to the Server Class. Use it to start multiple servers on different ports or to extend the node-http-server.|\r\n\r\n## request uri, query, and, body\r\n\r\nFor handling api requests, posts, puts patches etc with body data, we are now making that available on the request as both a ` String ` and ` Buffer ` incase you need images or videos uploaded.\r\n\r\n|key|type |value|\r\n|---|-----|-----|\r\n|request.body| string | request body |\r\n|request.url| string | processed uri |\r\n|request.uri| object | parsed url information and query |\r\n|request.serverRoot| string | local dir for publicly served data |\r\n\r\n|key|type |value|\r\n|---|-----|-----|\r\n|uri.protocol |string| protocol of request|\r\n|uri.host     |string| hostname for domain|\r\nuri.hostname  |string| hostname for domain|\r\n|uri.query    |object| parsed querystring|\r\n|uri.port     |number| port request was received on|\r\n\r\n### [Server Methods](http://riaevangelist.github.io/node-http-server/server/Server.js.html)\r\n\r\n#### deploy\r\n\r\n` server.deploy ` starts the server.\r\n\r\n` server.deploy(userConfig,readyCallback) `\r\n\r\n|method  | returns |\r\n|--------|---------|\r\n| deploy | void    |\r\n\r\n| parameter     | required | description |\r\n|---------------|----------|-------------|\r\n| userConfig    | no       | if a ` userConfig ` object is passed it will decorate the [Config class](http://riaevangelist.github.io/node-http-server/server/Config.js.html) |\r\n| readyCallback | no       | called once the server is started |\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\n\r\nserver.deploy(\r\n    {\r\n        port:8000,\r\n        root:'~/myApp/'\r\n    },\r\n    serverReady\r\n);\r\n\r\nserver.deploy(\r\n    {\r\n        port:8888,\r\n        root:'~/myOtherApp/'\r\n    },\r\n    serverReady\r\n);\r\n\r\nfunction serverReady(server){\r\n   console.log( `Server on port ${server.config.port} is now up`);\r\n}\r\n\r\n```\r\n\r\n#### onRawRequest\r\n\r\n` server.onRawRequest `\r\n\r\n` server.onRawRequest(request,response,serve) `\r\n\r\n|method  | should return |\r\n|--------|---------|\r\n| onRawRequest | bool/void    |\r\n\r\n| parameter  | description |\r\n|------------|-------------|\r\n| request    | http(s) request obj  |\r\n| response   | http(s) response obj |\r\n| serve      | ref to ` server.serve ` |\r\n\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\nconst config=new server.Config;\r\n\r\nconfig.port=8000;\r\n\r\nserver.onRawRequest=gotRequest;\r\n\r\nserver.deploy(config);\r\n\r\n\r\nfunction gotRequest(request,response,serve){\r\n    console.log(request.uri,request.headers);\r\n\r\n    serve(\r\n        request,\r\n        response,\r\n        JSON.stringify(\r\n            {\r\n                uri:request.uri,\r\n                headers:request.headers\r\n            }\r\n        )\r\n    );\r\n\r\n    return true;\r\n}\r\n\r\n```\r\n\r\n#### onRequest\r\n\r\n` server.onRequest `\r\n\r\n` server.onRequest(request,response,serve) `\r\n\r\n|method  | should return |\r\n|--------|--------------|\r\n| onRequest | bool/void    |\r\n\r\n| parameter  | description |\r\n|------------|-------------|\r\n| request    | http(s) request obj  |\r\n| response   | http(s) response obj |\r\n| serve      | ref to ` server.serve ` |\r\n\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\nconst config=new server.Config;\r\n\r\nconfig.port=8099;\r\nconfig.verbose=true;\r\n\r\nserver.onRequest=gotRequest;\r\n\r\nserver.deploy(config);\r\n\r\n\r\nfunction gotRequest(request,response,serve){\r\n    //at this point the request is decorated with helper members lets take a look at the query params if there are any.\r\n    console.log(request.query,request.uri,request.headers);\r\n\r\n    //lets only let the requests with a query param of hello go through\r\n    if(request.query.hello){\r\n       // remember returning false means do not inturrupt the response lifecycle\r\n       // and that you will not be manually serving\r\n       return false;\r\n    }\r\n\r\n    serve(\r\n        request,\r\n        response,\r\n        JSON.stringify(\r\n            {\r\n                success:false,\r\n                message:'you must have a query param of hello to access the server i.e. /index.html?hello'\r\n                uri:request.uri,\r\n                query:request.query\r\n            }\r\n        )\r\n    );\r\n\r\n    //now we let the server know we want it to kill the normal request lifecycle\r\n    //because we just completed it by serving above. we could also handle it async style\r\n    //and request a meme or something from the web and put that on the page (or something...)\r\n    return true;\r\n}\r\n\r\n```\r\n\r\n#### beforeServe\r\n\r\n` server.beforeServe `\r\n\r\n` server.beforeServe(request,response,body,encoding,serve) `\r\n\r\n|method  | should return |\r\n|--------|---------|\r\n| beforeServe | bool/void    |\r\n\r\n| parameter  | description |\r\n|------------|-------------|\r\n| request    | http(s) request obj  |\r\n| response   | http(s) response obj |\r\n| body       | response content body RefString  |\r\n| encoding   | response body encoding RefString |\r\n| serve      | ref to ` server.serve ` |\r\n\r\n\r\ntype ` RefString `\r\n\r\n|type     |keys     |description|\r\n|---------|---------|-----------|\r\n|RefString| `value` |a way to allow modifying a string by refrence.|\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\n\r\nserver.beforeServe=beforeServe;\r\n\r\nfunction beforeServe(request,response,body,encoding){\r\n    //only parsing html files for this example\r\n    if(response.getHeader('Content-Type')!=server.config.contentType.html){\r\n        //return void||false to allow response lifecycle to continue as normal\r\n        return;\r\n    }\r\n\r\n    const someVariable='this is some variable value';\r\n\r\n    body.value=body.value.replace('{{someVariable}}',someVariable);\r\n\r\n    //return void||false to allow response lifecycle to continue as normal\r\n    //with modified body content\r\n    return;\r\n}\r\n\r\nserver.deploy(\r\n    {\r\n        port:8000,\r\n        root:`${__dirname}/appRoot/`\r\n    }\r\n);\r\n\r\n```\r\n\r\n#### afterServe\r\n\r\n` server.afterServe `\r\n\r\n` server.afterServe(request) `\r\n\r\n|method      | should return |\r\n|------------|---------|\r\n| afterServe | n/a   |\r\n\r\n| parameter  | description |\r\n|------------|-------------|\r\n| request    | decorated http(s) request obj  |\r\n\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\n\r\nserver.afterServe=afterServe;\r\n\r\nfunction afterServe(request){\r\n    console.log(`just served ${request.uri}`);\r\n}\r\n\r\nserver.deploy(\r\n    {\r\n        port:8075,\r\n        root:`${__dirname}/appRoot/`\r\n    }\r\n);\r\n\r\n```\r\n\r\n\r\n## Examples\r\n\r\nTo see the node http server in action run ` npm start ` from the root of this repo and then visit [localhost:8000](http://localhost:8000).\r\n\r\nTo start only an https example server ` npm run https ` from the root of this repo and then visit [localhost:4433](http://localhost:4433).\r\n\r\nTo spin up both an http and an https server ` npm run both ` from the root of this repo and then visit [localhost:4433](http://localhost:4433) or [localhost:8000](http://localhost:8000).\r\n\r\nDetailed examples can be found in the [example folder](https://github.com/RIAEvangelist/node-http-server/tree/master/example) or under the example folder on the [node-http-server example docs](http://riaevangelist.github.io/node-http-server/example/readme.md.html)  The basic example directory is static http and https file servers and the advanced directory has dynamic server side rendering http and https examples including a benchmark example. The ` proxy ` examples show manual serving and response modification examples.  \r\n\r\n# Basic http server example\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    server.deploy(\r\n        {\r\n            port:8000,\r\n            root:'~/myApp/'\r\n        }\r\n    );\r\n\r\n```\r\n\r\n# Basic https only server example\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    server.deploy(\r\n        {\r\n            port:8000,\r\n            root:'~/myApp/',\r\n            https:{\r\n                privateKey:`/path/to/your/certs/private/server.key`,\r\n                certificate:`/path/to/your/certs/server.pub`,\r\n                port:4433,\r\n                only:true\r\n            }\r\n        }\r\n    );\r\n\r\n```\r\n\r\n# Basic server running both http and https\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    server.deploy(\r\n        {\r\n            port:8000,\r\n            root:'~/myApp/',\r\n            https:{\r\n                privateKey:`/path/to/your/certs/private/server.key`,\r\n                certificate:`/path/to/your/certs/server.pub`,\r\n                port:4433\r\n            }\r\n        }\r\n    );\r\n\r\n```\r\n\r\n## Basic cluster server\r\n\r\n```javascript\r\n\r\n//import the `node-http-server` module\r\n//` const server=require(‘node-http-server’); `\r\nconst server=require('../../server/Server.js');\r\n\r\n//import cluster\r\nconst cluster = require('cluster');\r\nconst numCPUs = require('os').cpus().length;\r\n\r\nif (cluster.isMaster) {\r\n  console.log(`Master ${process.pid} is running`);\r\n\r\n  // Fork node-http-server cluster workers.\r\n  for (let i = 0; i < numCPUs; i++) {\r\n    cluster.fork();\r\n  }\r\n\r\n  cluster.on(\r\n    'exit',\r\n    (worker, code, signal) => {\r\n      console.log(`worker ${worker.process.pid} died`);\r\n    }\r\n  );\r\n} else {\r\n  server.afterServe=(request)=>{\r\n    console.log(`${process.pid} served ${request.uri.path}`);\r\n  }\r\n\r\n  //start server in clustered children\r\n  server.deploy(\r\n      {\r\n          verbose: false,\r\n          port: 8000,\r\n          root:__dirname+'/appRoot/'\r\n      }\r\n  );\r\n\r\n  console.log(`Worker ${process.pid} started listening on ${server.config.port}`);\r\n}\r\n\r\n```\r\n\r\n## Template filling\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    server.beforeServe=beforeServe;\r\n\r\n    function beforeServe(request,response,body,encoding){\r\n        //only parsing html files for this example\r\n        if(response.getHeader('Content-Type')!=server.config.contentType.html){\r\n            return;\r\n        }\r\n\r\n        const someVariable='this is some variable value';\r\n\r\n        body.value=body.value.replace('{{someVariable}}',someVariable);\r\n    }\r\n\r\n    server.deploy(\r\n        {\r\n            port:8000,\r\n            root:`${__dirname}/appRoot/`\r\n        }\r\n    );\r\n\r\n```\r\n\r\n---\r\n\r\n## Custom configuration\r\n\r\nfor http :\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    const config=new server.Config;\r\n    config.errors['404']    = 'These are not the files you are looking for...';\r\n    config.contentType.mp4  = 'video/mp4';\r\n    config.port             = 8005;\r\n    config.verbose          = true;\r\n    config.root             = '~/myApp/'\r\n\r\n    server.deploy(config);\r\n\r\n```\r\n\r\nfor https :\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    const config=new server.Config;\r\n    config.errors['404']    = 'These are not the files you are looking for...';\r\n    config.contentType.mp4  = 'video/mp4';\r\n    config.port             = 8005;\r\n    config.verbose          = true;\r\n    config.root             = '~/myApp/'\r\n    config.https.privateKey = `/path/to/your/certs/private/server.key`;\r\n    config.https.certificate= `/path/to/your/certs/server.pub`;\r\n    config.https.port       = 4433;\r\n    config.https.only       = true;\r\n\r\n    server.deploy(config);\r\n\r\n```\r\n\r\n\r\n---\r\n\r\n## Multiple domains or subdomains\r\n\r\n```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    const config={\r\n        port:8010,\r\n        root:__dirname + '/www/myApp/',\r\n        domain:'myapp.com',\r\n        domains:{\r\n            'a.myapp.com':__dirname+'/www/a-myApp/',\r\n            'yourapp.com':__dirname+'/someFolder/yourApp/'\r\n        }\r\n    }\r\n\r\n    server.deploy(config);    \r\n\r\n```\r\n\r\n## [Config Class](http://riaevangelist.github.io/node-http-server/server/Config.js.html)\r\n\r\n### Default node HTTP server configuration\r\n\r\nAll of these can be modified and passed into ` new server.Server(myConfigs) ` or ` server.deploy(myConfigs) `\r\n\r\n```javascript\r\n\r\nconst myConfig=new server.Config;\r\nmyConfig.verbose=true;\r\nmyConfig.port=9922;\r\n\r\nconst myServer=new server.Server(config);\r\nmyServer.deploy();\r\n\r\n//or more basically\r\nserver.deploy({port:9922,verbose:true});\r\n\r\n```\r\n\r\n#### defaults description\r\n\r\n\r\n```javascript\r\n\r\n    {\r\n        verbose     : (args.verbose=='true')||false,\r\n        port        : args.port||defaults.port,\r\n        root        : args.root||defaults.root,\r\n        domain      : args.domain||defaults.domain,\r\n        https       :{\r\n            ca:'',\r\n            privateKey:'',\r\n            certificate:'',\r\n            port:443,\r\n            only:false\r\n        },\r\n        log         : false,\r\n        logFunction : serverLogging,\r\n        domains   : {\r\n            /*******************\\\r\n             * domain  : /that/domains/root/dir\r\n             *\r\n             * for sub domains, specify the whole host i.e. \"my.sub.domain\"\r\n             * you may need to edit your hosts file, cnames or iptable\r\n             * domain or my.domain etc. goes to 127.0.0.1 for local development\r\n             * *****************/\r\n        },\r\n        server      : {\r\n            index   : args.index||defaults.index,\r\n            noCache : args.noCache=='false' ? false : true,\r\n            timeout : 30000 //30 second timeout\r\n        },\r\n        contentType : {\r\n            html    : 'text/html',\r\n            css     : 'text/css',\r\n            js      : 'text/javascript',\r\n            json    : 'application/json',\r\n            txt     : 'text/plain',\r\n            jpeg    : 'image/jpeg',\r\n            jpg     : 'image/jpeg',\r\n            png     : 'image/png',\r\n            gif     : 'image/gif',\r\n            ico     : 'image/x-icon',\r\n            appcache: 'text/cache-manifest'\r\n        },\r\n        restrictedType: {\r\n\r\n        },\r\n        errors:{\r\n            headers : {\r\n                'Content-Type' : 'text/plain'\r\n            },\r\n            404: '404 MIA',\r\n            415: '415 File type not supported',\r\n            403: '403 Access Denied',\r\n            500: '500 {{err}}'\r\n        }\r\n    };\r\n\r\n```\r\n\r\n|key|description|\r\n|---|-----|\r\n|verbose| display detailed info about what server is doing via terminal. |\r\n|port| the port on which the server should run  |\r\n|root| the absolute path to the root dir for the domain |\r\n|domain| the server domain. To accept incoming requests for ***ANY Applicable Domain*** use ` 0.0.0.0 ` this will allow any request that is pointed at this machine on the specified port to use this server config.  |\r\n|https|settings for https, these wil only take effect if both a `privateKey` and a `certificate` are specified. Setting ` only ` to be true means the instance will only serve over https|\r\n|https.privateKey|path to your servers private key like ./local-certs/private/server.key or similar|\r\n|https.certificate|path to your servers public cert like ./local-certs/client.pub or similar|\r\n|https.ca|path to your officially signed CA's certificate authority file servers public cert like ./local-certs/ca-bundle.crt or similar. This is often needed for officially signed and generated certs, but not for self signed certs so it is optional.|\r\n|log| full path to log file, if specified and the file is not present, it will be created, however the dir must be there. Example path : ` /tmp/server.log ` It is recommended that you timestamp this file name with a time stamp like : ` '~/serverLogs/domain-'+new Date().getTime()+'.log' ` this will create a new log file each time the server is started/restarted/reboot etc...  |\r\n|logFunction| the default function appends timestamps to the headers object and logs as JSON in the ` log ` file. You can assign your own function here as well. It should accepts a javascript Object as the first argument. |\r\n|domains.*| this is a mapping of hostname to path. It can be used for multiple different domains, or for subdomains.|\r\n|server.index| the default file to look for in a dir. if not found a **404** will be displayed   |\r\n|server.noCache| should the server prevent caching    |\r\n|server.timeout| the amount of time allowed for no activity on a connection before it is closed. |\r\n|contentType.*| mapping of file extension to header Content-Type value.  |\r\n|restrictedType.*| extensions to which access will be denied. |\r\n|errors.headers| these are the headers that will automatically be applied to all error responses. You can add custom headers per error in the ` beforeServe ` function |\r\n|errors.*| error headers and error strings, these can be anything you like from html to text etc. The **500** error will replace ` {{err}} ` in the specified value with the actual error message from the server.  |\r\n\r\n\r\n#### Local and Production domains\r\n\r\n```sh\r\n\r\nnode yourServer.js local\r\n\r\n```\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\n\r\nserver.deploy(\r\n  {\r\n    domain:(process.argv[2]=='local')?'0.0.0.0' : 'my.awesome.domain'\r\n  }\r\n);\r\n\r\n```\r\n\r\n```javascript\r\n\r\nconst server=require('node-http-server');\r\nconst config=new server.Config;\r\n\r\nconfig.domain = (process.argv[2]=='local')?'0.0.0.0' : 'my.awesome.domain';\r\n\r\nserver.deploy(config);\r\n\r\n```\r\n\r\n\r\n#### config.domains.*\r\n\r\nUse this object for sub domains, or hosting multiple domains on the same port. Specify the whole host i.e. \"my.sub.domain.com\" or \"amazing-domain.com\".\r\n\r\nYou may need to edit your hosts file, cnames, iptable to get this to work on your server or development environment.\r\n\r\nYou can add the below example to your hosts file to run some of the examples from the ` /example/basic ` directory which use multiple domains on occasion.\r\n\r\n    #node-http-server examples\r\n    127.0.0.1 myapp\r\n    127.0.0.1 a.myapp\r\n    127.0.0.1 yourapp.com\r\n\r\n ```javascript\r\n\r\n    const server=require('node-http-server');\r\n\r\n    const config={\r\n        port:8000,\r\n        root:__dirna\\me+'/appRoot/',\r\n        domain:'myapp',\r\n        domains:{\r\n             //subdomain\r\n             'a.myapp':`${__dirname}/appSubDomainRoot/`,\r\n             //totally different domain, but also on port 8000\r\n             'yourapp.com':`${__dirname}/appOtherDomainRoot/`\r\n        }\r\n    }\r\n\r\n    server.deploy(config);\r\n\r\n```\r\n\r\n---\r\n\r\n## Extending the Server\r\n\r\nIf you wish to make a reusable Server Class of your own to share or for some internal use you can always extend the server class and make your own module too.\r\n\r\n```javascript\r\n\r\n    const os=require('os');\r\n    const Server=require('node-http-server').Server;\r\n\r\n    class MyAwesomeServer extends Server(){\r\n        constructor(){\r\n            super();\r\n        }\r\n\r\n        IP(){\r\n            const networkInterfaces = os.networkInterfaces();\r\n            const serverIPs={};\r\n            const interfaceKeys=Object.keys(networkInterfaces);\r\n            for(let i in interfaceKeys){\r\n                serverIPs[\r\n                    interfaceKeys[i]\r\n                ]={};\r\n\r\n                const interface=networkInterfaces[\r\n                    interfaceKeys[i]\r\n                ];\r\n\r\n                for(let j in interface){\r\n                    serverIPs[\r\n                        interfaceKeys[i]\r\n                    ][\r\n                        interface[j].family\r\n                    ]=interface[j].address;\r\n                }\r\n            }\r\n\r\n            return serverIPs;\r\n        }\r\n    }\r\n\r\n    module.exports=MyAwesomeServer;\r\n\r\n```\r\n\r\n\r\n```javascript\r\n\r\n    const AwesomeServer=require('MyAwesomeServer');\r\n\r\n    const server=new AwesomeServer;\r\n\r\n    server.deploy(\r\n        {\r\n            port:8000,\r\n            root:'~/myAwesomeApp'\r\n        }\r\n    );\r\n\r\n    console.log(server.IP);\r\n\r\n```\r\n","_attachments":{},"homepage":"https://github.com/RIAEvangelist/node-http-server","bugs":{"url":"https://github.com/RIAEvangelist/node-http-server/issues"},"license":"MIT"}