123 lines
5.8 KiB
JSON
123 lines
5.8 KiB
JSON
{
|
|
"_from": "http-server@^0.11.1",
|
|
"_id": "http-server@0.11.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-6JeGDGoujJLmhjiRGlt8yK8Z9Kl0vnl/dQoQZlc4oeqaUoAKQg94NILLfrY3oWzSyFaQCVNTcKE5PZ3cH8VP9w==",
|
|
"_location": "/http-server",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"escapedName": "http-server",
|
|
"fetchSpec": "^0.11.1",
|
|
"name": "http-server",
|
|
"raw": "http-server@^0.11.1",
|
|
"rawSpec": "^0.11.1",
|
|
"registry": true,
|
|
"saveSpec": null,
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"#USER",
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/http-server/-/http-server-0.11.1.tgz",
|
|
"_shasum": "2302a56a6ffef7f9abea0147d838a5e9b6b6a79b",
|
|
"_spec": "http-server@^0.11.1",
|
|
"_where": "C:\\Users\\Solomon\\OneDrive\\workspace\\inkletblot.com",
|
|
"bin": {
|
|
"hs": "./bin/http-server",
|
|
"http-server": "./bin/http-server"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nodeapps/http-server/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"contributors": [
|
|
{
|
|
"name": "Matthew Bergman",
|
|
"email": "mzbphoto@gmail.com"
|
|
},
|
|
{
|
|
"name": "Charlie Robbins",
|
|
"email": "charlie.robbins@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": "Marak Squires",
|
|
"email": "marak.squires@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"
|
|
},
|
|
{
|
|
"name": "BigBlueHat",
|
|
"email": "byoung@bigbluehat.com"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"colors": "1.0.3",
|
|
"corser": "~2.0.0",
|
|
"ecstatic": "^3.0.0",
|
|
"http-proxy": "^1.8.1",
|
|
"opener": "~1.4.0",
|
|
"optimist": "0.6.x",
|
|
"portfinder": "^1.0.13",
|
|
"union": "~0.4.3"
|
|
},
|
|
"deprecated": false,
|
|
"description": "A simple zero-configuration command-line http server",
|
|
"devDependencies": {
|
|
"common-style": "^3.0.0",
|
|
"request": "2.49.x",
|
|
"vows": "0.7.x"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib"
|
|
],
|
|
"homepage": "https://github.com/indexzero/http-server#readme",
|
|
"keywords": [
|
|
"cli",
|
|
"command"
|
|
],
|
|
"license": "MIT",
|
|
"main": "./lib/http-server",
|
|
"name": "http-server",
|
|
"optionalDependencies": {},
|
|
"preferGlobal": "true",
|
|
"readme": "[](https://travis-ci.org/indexzero/http-server)\r\n[](https://david-dm.org/indexzero/http-server)\r\n[](https://www.npmjs.com/package/http-server)\r\n[](https://github.com/indexzero/http-server)\r\n\r\n# http-server: a command-line http server\r\n\r\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.\r\n\r\n\r\n\r\n# Installing globally:\r\n\r\nInstallation via `npm`:\r\n\r\n npm install http-server -g\r\n\r\nThis will install `http-server` globally so that it may be run from the command line.\r\n\r\n## Usage:\r\n\r\n http-server [path] [options]\r\n\r\n`[path]` defaults to `./public` if the folder exists, and `./` otherwise.\r\n\r\n*Now you can visit http://localhost:8080 to view your server*\r\n\r\n## Available Options:\r\n\r\n`-p` Port to use (defaults to 8080)\r\n\r\n`-a` Address to use (defaults to 0.0.0.0)\r\n\r\n`-d` Show directory listings (defaults to 'True')\r\n\r\n`-i` Display autoIndex (defaults to 'True')\r\n\r\n`-g` or `--gzip` When enabled (defaults to 'False') it will serve `./public/some-file.js.gz` in place of `./public/some-file.js` when a gzipped version of the file exists and the request accepts gzip encoding.\r\n\r\n`-e` or `--ext` Default file extension if none supplied (defaults to 'html')\r\n\r\n`-s` or `--silent` Suppress log messages from output\r\n\r\n`--cors` Enable CORS via the `Access-Control-Allow-Origin` header\r\n\r\n`-o` Open browser window after starting the server\r\n\r\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.\r\n\r\n`-U` or `--utc` Use UTC time format in log messages.\r\n\r\n`-P` or `--proxy` Proxies all requests which can't be resolved locally to the given url. e.g.: -P http://someurl.com\r\n\r\n`-S` or `--ssl` Enable https.\r\n\r\n`-C` or `--cert` Path to ssl cert file (default: cert.pem).\r\n\r\n`-K` or `--key` Path to ssl key file (default: key.pem).\r\n\r\n`-r` or `--robots` Provide a /robots.txt (whose content defaults to 'User-agent: *\\nDisallow: /')\r\n\r\n`-h` or `--help` Print this list and exit.\r\n\r\n# Development\r\n\r\nCheckout this repository locally, then:\r\n\r\n```sh\r\n$ npm i\r\n$ node bin/http-server\r\n```\r\n\r\n*Now you can visit http://localhost:8080 to view your server*\r\n\r\nYou should see the turtle image in the screenshot above hosted at that URL. See\r\nthe `./public` folder for demo content.\r\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/indexzero/http-server.git"
|
|
},
|
|
"scripts": {
|
|
"pretest": "common bin/http-server lib/ test",
|
|
"start": "node ./bin/http-server",
|
|
"test": "vows --spec --isolate"
|
|
},
|
|
"version": "0.11.1"
|
|
}
|