{"_id":"spa-http-server","_rev":"12-b05424d894bd4ce96d4e2f0b003c9c0b","name":"spa-http-server","description":"A simple zero-configuration command-line http server","dist-tags":{"latest":"0.9.0"},"versions":{"0.9.0":{"name":"spa-http-server","version":"0.9.0","description":"A simple zero-configuration command-line http server","main":"./lib/http-server","repository":{"type":"git","url":"git://github.com/indexzero/http-server.git"},"keywords":["cli","command"],"scripts":{"start":"node ./bin/http-server","pretest":"common bin/http-server lib/ test","test":"vows --spec --isolate"},"contributors":[{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},{"name":"Marak Squires","email":"marak.squires@gmail.com"},{"name":"Charlie McConnell","email":"charlie@charlieistheman.com"},{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com"},{"name":"Maciej Małecki","email":"maciej.malecki@notimplemented.org"},{"name":"Matthew Bergman","email":"mzbphoto@gmail.com"},{"name":"brad dunbar","email":"dunbarb2@gmail.com"},{"name":"Dominic Tarr"},{"name":"Travis Person","email":"travis.person@gmail.com"},{"name":"Jinkwon Lee","email":"master@bdyne.net"}],"dependencies":{"colors":"1.0.3","corser":"~2.0.0","ecstatic":"^1.4.0","http-proxy":"^1.8.1","opener":"~1.4.0","optimist":"0.6.x","portfinder":"0.4.x","union":"~0.4.3"},"devDependencies":{"common-style":"^3.0.0","request":"2.49.x","vows":"0.7.x"},"bugs":{"url":"https://github.com/nodeapps/http-server/issues"},"license":"MIT","preferGlobal":"true","bin":{"http-server":"./bin/http-server","hs":"./bin/http-server"},"gitHead":"aeac64d2055f52e359744610f19c5b19dd71312a","homepage":"https://github.com/indexzero/http-server#readme","_id":"spa-http-server@0.9.0","_shasum":"e5c7b988eafcf0533debbb6be89d6d404321f53c","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"dashersw","email":"armagan@amcalar.com"},"dist":{"shasum":"e5c7b988eafcf0533debbb6be89d6d404321f53c","tarball":"https://registry.npmjs.org/spa-http-server/-/spa-http-server-0.9.0.tgz","integrity":"sha512-weF1xcWI3JaI6XltUaosYKZVLVX1E4zFU3kKCMWnaGyqW/G0yngNgU+xh8JPQkYhlnxY72yJBr1m3lUO/KF/uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ91BMmiJgulxfMb2w0bSWesd20qjCIUxPpp1wlU/QXAIhAI5UFkf+jlpBzSPliykgltmTa4I885IPeNGjlf0ErAFG"}]},"maintainers":[{"name":"dashersw","email":"armagan@amcalar.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/spa-http-server-0.9.0.tgz_1456336392699_0.4966263354290277"},"directories":{}}},"readme":"# http-server: a command-line http server\n\n`http-server` is a simple, zero-configuration command-line http server.  It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development, and learning.\n\n![](https://github.com/nodeapps/http-server/raw/master/screenshots/public.png)\n\n# Installing globally:\n\nInstallation via `npm`:\n\n     npm install http-server -g\n\nThis will install `http-server` globally so that it may be run from the command line.\n\n## Usage:\n\n     http-server [path] [options]\n\n`[path]` defaults to `./public` if the folder exists, and `./` otherwise.\n\n# Installing as a node app\n\n     mkdir myapp\n     cd myapp/\n     jitsu install http-server\n\n*If you do not have `jitsu` installed you can install it via `npm install jitsu -g`*\n\n## Usage\n\n### Starting http-server locally\n\n     node bin/http-server\n\n*Now you can visit http://localhost:8080 to view your server*\n\n## Available Options:\n\n`-p` Port to use (defaults to 8080)\n\n`-a` Address to use (defaults to 0.0.0.0)\n\n`-d` Show directory listings (defaults to 'True')\n\n`-i` Display autoIndex (defaults to 'True')\n\n`-e` or `--ext` Default file extension if none supplied (defaults to 'html')\n\n`-s` or `--silent` Suppress log messages from output\n\n`--cors` Enable CORS via the `Access-Control-Allow-Origin` header\n\n`-o` Open browser window after starting the server\n\n`-c` Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds (defaults to '3600'). To disable caching, use -c-1.\n\n`-U` or `--utc` Use UTC time format in log messages.\n\n`-P` or `--proxy` Proxies all requests which can't be resolved locally to the given url. e.g.: -P http://someurl.com\n\n`--push-state` Enable HTML5 push state mode where all URIs respond with index.html. (defaults to 'False')\n\n`-S` or `--ssl` Enable https.\n\n`-C` or `--cert` Path to ssl cert file (default: cert.pem).\n\n`-K` or `--key` Path to ssl key file (default: key.pem).\n\n`-r` or `--robots` Provide a /robots.txt (whose content defaults to 'User-agent: *\\nDisallow: /')\n\n`-h` or `--help` Print this list and exit.\n","maintainers":[{"name":"dashersw","email":"armagan@amcalar.com"}],"time":{"modified":"2022-06-26T22:29:57.924Z","created":"2016-02-24T17:53:15.849Z","0.9.0":"2016-02-24T17:53:15.849Z"},"homepage":"https://github.com/indexzero/http-server#readme","keywords":["cli","command"],"repository":{"type":"git","url":"git://github.com/indexzero/http-server.git"},"contributors":[{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},{"name":"Marak Squires","email":"marak.squires@gmail.com"},{"name":"Charlie McConnell","email":"charlie@charlieistheman.com"},{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com"},{"name":"Maciej Małecki","email":"maciej.malecki@notimplemented.org"},{"name":"Matthew Bergman","email":"mzbphoto@gmail.com"},{"name":"brad dunbar","email":"dunbarb2@gmail.com"},{"name":"Dominic Tarr"},{"name":"Travis Person","email":"travis.person@gmail.com"},{"name":"Jinkwon Lee","email":"master@bdyne.net"}],"bugs":{"url":"https://github.com/nodeapps/http-server/issues"},"license":"MIT","readmeFilename":"README.md","users":{"raisiqueira":true,"yirihuan":true,"machuga":true}}