{"_id":"pushserve","_rev":"20-7d0688eafc2482f436242ff18bcdd22b","name":"pushserve","description":"Dead-simple pushState-enabled command-line http server.","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"pushserve","version":"0.1.0","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","gitHead":"99a78231e4bd47dc7e57b955b8bfb672e6f6f10c","dependencies":{"express":"~3.1.1","commander":"~1.1.1"},"_id":"pushserve@0.1.0","dist":{"shasum":"9e175ab32db37e391c063dac55b3d9d016b64845","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.0.tgz","integrity":"sha512-92GFG2V7Sjb3YcjeMo3NCZGRMThMZ1idd0nAHeod7KPd5ZZjno2YqrHHrF6OX0mqs9Gorj7IrL5GE9i+DLAGzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWx422AdjMOivG0Vbp0K3NKRec1aQW2fBa0o+d8/TSvAiEAsFv9A2SabZSSoFB20VP/C3NU+cSLefFAilDgESpIsns="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.1":{"name":"pushserve","version":"0.1.1","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","gitHead":"99a78231e4bd47dc7e57b955b8bfb672e6f6f10c","dependencies":{"express":"~3.1.1","commander":"~1.1.1"},"_id":"pushserve@0.1.1","dist":{"shasum":"79dfaeb91d81f0c1d3316c773a2eb5aaa8eaa831","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.1.tgz","integrity":"sha512-6Yrzku+HmTcTyNzGZA5TeD6a+98DJhs900iG2X+F+Jq86TMi3zztyK52FV+OqSdDHoq5HZkDCTY9redzrzY/4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlluIKuJ7c+U0SC/4iNCLkheCb+SYqmQ2Rf0GudAbgbQIgZFYdoM6dhqQGYDBZgfUZN6s9mET+VDngh1snTYRnRuc="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.2":{"name":"pushserve","version":"0.1.2","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","gitHead":"99a78231e4bd47dc7e57b955b8bfb672e6f6f10c","dependencies":{"express":"~3.1.1","commander":"~1.1.1"},"_id":"pushserve@0.1.2","dist":{"shasum":"e17388162c0a52fbacfe9bdc214c4195bf2b3275","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.2.tgz","integrity":"sha512-0phPl35fhzoByS9I6Crui/VYtU+m45nHG6gb06lyn9bkjdaOHFSsCU0W97Xdupc+5WBNN7sQ06hMXur4eTZOPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICixYb4e/MY6muc953CMN687OPE0tDRl2l9g9iK0Yx4bAiBgA6kjdp0AyBp+eh8PZCt8ZQdHHU7XK4xBQATXutkxFw=="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.3":{"name":"pushserve","version":"0.1.3","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"express":"~3.1.1","commander":"~1.1.1"},"_id":"pushserve@0.1.3","dist":{"shasum":"f5d8874fed44d12368e41cf548d1866c03ba919d","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.3.tgz","integrity":"sha512-Wd9AqdwFyNCkibVxhYZDovJoBa5MIewXlojbgdUXTvUcnD9C7Hjn8bQb/axs0F6993BRXKfYz7FZQUl4tiH6Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcZfYpVurPZwhLu7emCwtOa6CsuP7Da9x7QG5DhJHvFwIgAUmG14fNDmdCu2u2HbHRSpI9ZxyUoBbJh8nyNgCIPt0="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.4":{"name":"pushserve","version":"0.1.4","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"express":"~3.2.0","commander":"~1.1.1"},"_id":"pushserve@0.1.4","dist":{"shasum":"ee6b7422892b3f43fcedb699f1bf8ad72e0c3c6c","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.4.tgz","integrity":"sha512-yUgAaReb5WhpVd72k8qA6C24+WJtTOAZum054w2Zh8n5TTZ4Jl7+va2ij/YRFgzl6eDCDE/6T3tbTKoab6mjTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFX4VVAl40Kejb09T8fIWcdiN5PL+g4SZp3jDaoJUUC/AiA46cdkv4Qu6HPl1TN3SGnpJA+vNPWduQJ0LiJLwYw+sA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.5":{"name":"pushserve","version":"0.1.5","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"express":"~3.3.0","commander":"1.2.0","connect-slashes":"~0.0.9"},"bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"_id":"pushserve@0.1.5","dist":{"shasum":"532984eaff711ca89bcf3ff2145641078c551a37","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.5.tgz","integrity":"sha512-Bj55unSs3CleYtMAYnpWloASNxjIMqmoGGCStuspJQ9jWlIzTjRwWulWguiSwRTge8gS9Ewz6rupRw9uV1GbeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2LxMktpIdyXtzLsraJ20DvyQy6oug/vHngTOGPmdcIAiEAl/iX4lbyL/92RxXlifGry8Un5GAPC5eMFwNXE+Y6xCw="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.1.6":{"name":"pushserve","version":"0.1.6","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"express":"~3.3.0","commander":"~2.0.0","connect-slashes":"~0.0.9"},"bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"_id":"pushserve@0.1.6","dist":{"shasum":"a07b173fc2488b71d9af4a5b37411bb3d91d6e27","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-0.1.6.tgz","integrity":"sha512-6T1/0AFe7VG59XAc5djtblzVFhj/3/NZk1RHoeP/ZQcx0h4j4udAqLl/j3iATjkiL/nYjLH18mf9tWu/1gz+VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk9rQdgxO7vS76lA+nZE9vOPLJWV52b+keR52DGbUVYAiBtTb0IviUjEAY80d6BtFLNfL4mttV1weqHIfE1lpkWzw=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"1.0.0":{"name":"pushserve","version":"1.0.0","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve.git"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"commander":"^2.0.0","connect-slashes":"^1.3.1","express":"^4.0.0","serve-static":"^1.10.0"},"gitHead":"39f211974d0ca5c02022c8c0b7c7ffab5c5b61e6","bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"homepage":"https://github.com/paulmillr/pushserve#readme","_id":"pushserve@1.0.0","_shasum":"ca821b68f0e99297d62d01d28c21987da10e41c0","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"dist":{"shasum":"ca821b68f0e99297d62d01d28c21987da10e41c0","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-1.0.0.tgz","integrity":"sha512-wKUCJtcR3/rpFznSCx9FYww1euV4ilZo3XgC6Us/DQJLTJqpAhvrwmdknExYshdgKUYmkarxE3fdMyhWIwKFEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6ASg/WEoz6nSLLVCLoCVNpdISLbknfxuxUxTu0ZP9lAiB6sUwE01+llFnhp6lznUUEz4WJw5g+APT8Yf83kq9/Lw=="}]}},"1.0.1":{"name":"pushserve","version":"1.0.1","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve.git"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"commander":"^2.0.0","connect-slashes":"^1.3.1","express":"^4.0.0","serve-static":"^1.10.0"},"gitHead":"30ec9e5d01c354449be5657ea49865203a95dfa4","bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"homepage":"https://github.com/paulmillr/pushserve#readme","_id":"pushserve@1.0.1","_shasum":"1abe4191f55acf5afc6dd62b9edfbfc3a2f7c011","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"dist":{"shasum":"1abe4191f55acf5afc6dd62b9edfbfc3a2f7c011","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-1.0.1.tgz","integrity":"sha512-Z/NupshQPB3En+VLiUI5HEbI0siK0FbqxU7S9TBnsxzqnlxk4DD2yFF/b2nzALcVBkHvkyeXZZy9Xl6bz+F9fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBhjurPF9lm8+d9+YtGQ1XXuH/1q6SRTh5bqdXXBKOXwIhAMiAyYlhsX6huUdwgFiAB7LcxtHiqOZ4jjGzO05BG99d"}]}},"1.0.2":{"name":"pushserve","version":"1.0.2","description":"Dead-simple pushState-enabled command-line http server.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve.git"},"keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"author":{"name":"Paul Miller","url":"paulmillr.com"},"license":"MIT","bin":{"pushserve":"./pushserve"},"dependencies":{"commander":"^2.0.0","connect-slashes":"^1.3.1","express":"^4.0.0","serve-static":"^1.10.0"},"gitHead":"e99e384dfbc53e681e798e266f8184df5a072565","bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"homepage":"https://github.com/paulmillr/pushserve#readme","_id":"pushserve@1.0.2","_shasum":"fdfb803939ca33752d38f2d1aa975ac01a93253f","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.5.0","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"dist":{"shasum":"fdfb803939ca33752d38f2d1aa975ac01a93253f","tarball":"https://registry.npmjs.org/pushserve/-/pushserve-1.0.2.tgz","integrity":"sha512-69cXb/Kg7aeaDYJdqa3oxXUdpZox/glxuWWYYWS5QMqbpniyvHteh0HJHZu7boHC9o2vZRQVLnQds72ddCbJhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6I7nK0f7eT/D9kajs4ZuG6QhK9tAFObXhuHs/47mGXAIhALcxG2YPR5Vb+BQhytBP/bt0wDbmyGhil4w5qs97sSxT"}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/pushserve-1.0.2.tgz_1454648088131_0.36159329302608967"}}},"readme":"# pushserve\n\nDead-simple node.js pushState-enabled command-line http server.\n\n## Usage\n\n* Install it with `npm`: `npm install -g pushserve`.\n* Launch: `pushserve`.\n    * You may specify port (default is 8000): `pushserve --port 4567`.\n\n```\n  Usage: pushserve [options]\n\n  Options:\n\n    -h, --help                 output usage information\n    -V, --version              output the version number\n    -H, --hostname <hostname>  Web server hostname [localhost]\n    -p, --port <port>          Web server port [8000]\n    -P, --path <path>          Path [.]\n    -i, --indexPath <path>     Path to file which to which 404s will be redirected [index.html]\n    -c, --noCors               Disable cross-origin resource sharing\n    -s, --noPushstate          Disable pushState\n```\n\nNode.js API:\n\n```javascript\nvar pushserve = require('pushserve');\n// Any of these ways.\npushserve();\npushserve(function(error, options) {\n  console.log('Launched');\n});\npushserve({port: 4567, indexPath: '../index.html', noCors: true});\npushserve({port: 5555}, function() {\n  console.log('Launched');\n});\n```\n\nAdditionally, node.js API also adds `noLog` option with which\ndefault server start message won’t be printed.\n\nYou can stop the server in node with `var server = pushserve(); server.close();`.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Paul Miller (http://paulmillr.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"time":{"modified":"2022-06-25T02:08:44.209Z","created":"2013-04-11T13:21:00.788Z","0.1.0":"2013-04-11T13:21:04.193Z","0.1.1":"2013-04-11T13:37:03.908Z","0.1.2":"2013-04-19T05:37:01.265Z","0.1.3":"2013-05-10T02:59:49.393Z","0.1.4":"2013-05-12T03:16:14.483Z","0.1.5":"2013-06-28T16:19:51.661Z","0.1.6":"2013-07-20T17:40:33.248Z","1.0.0":"2015-12-05T21:21:37.502Z","1.0.1":"2015-12-05T21:29:48.110Z","1.0.2":"2016-02-05T04:54:50.569Z"},"author":{"name":"Paul Miller","url":"paulmillr.com"},"repository":{"type":"git","url":"git://github.com/paulmillr/pushserve.git"},"homepage":"https://github.com/paulmillr/pushserve#readme","keywords":["pushState","command","line","cli","html5","http","server","web","cors"],"bugs":{"url":"https://github.com/paulmillr/pushserve/issues"},"license":"MIT","readmeFilename":"README.md"}