{"_id":"redirect","_rev":"8-07e4c1a2079ac0dac9e6f874f1ca24de","name":"redirect","description":"A simple HTTP redirection server","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"redirect","author":{"name":"Pavan Kumar Sunkara","email":"pavan.sss1991@gmail.com"},"description":"A simple HTTP redirection server","version":"0.1.0","keywords":["redirect","302","server","http","simple"],"scripts":{"start":"./bin/server"},"dependencies":{"nconf":"0.4.x"},"analyze":false,"_npmUser":{"name":"pksunkara","email":"pavan.sss1991@gmail.com"},"_id":"redirect@0.1.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"144e4644150bfbf752d090f2d7d1b5b19ebb10bf","tarball":"https://registry.npmjs.org/redirect/-/redirect-0.1.0.tgz","integrity":"sha512-k8s6C+D/LDrFNm7VyIVzAFMrU3ZgZa41NV/qyxpyihn1Wy8PqsyVk3lNu4B3YrLQ1dpArcPaapRUHnAaET43gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjWhjGHA2b2tBUCaSli12YtDEGTlEzG3Uayd0BNtqFngIhALyFY7gmhQEqHTVT0oyC9bn65H/Ccu8hWlHBtuKD1E9F"}]},"maintainers":[{"name":"pksunkara","email":"pavan.sss1991@gmail.com"}]},"0.2.0":{"name":"redirect","version":"0.2.0","author":{"name":"Pavan Kumar Sunkara","email":"pavan.sss1991@gmail.com"},"description":"A simple HTTP redirection server","main":"","repository":{"type":"git","url":"git://github.com/pksunkara/node-redirect.git"},"keywords":["redirect","302","server","http","simple"],"homepage":"http://pksunkara.github.com/node-redirect","scripts":{"start":"./bin/server"},"contributors":[{"name":"Pavan Kumar Sunkara","email":"pavan.sss1991@gmail.com"}],"dependencies":{"nconf":"0.6.x"},"devDependencies":{},"engines":{"node":">=0.6"},"bugs":{"url":"https://github.com/pksunkara/node-redirect/issues"},"licenses":[{"type":"MIT","url":"https://github.com/pksunkara/node-redirect/raw/master/LICENSE"}],"analyze":false,"readme":"# node-redirect\n\nCreates a server which redirects incoming traffic to another domain.\n\n# Requirements\n\n- node\n- npm\n\n# Installation\n\n```\n    npm install redirect\n```\n\n# Configuration\n\nIn order to run the `redirect` application, you will need to modify the `config.json` with your redirection options.\n\n\n```js\n{\n  \"port\": 80,\n  \"redirects\": {\n    \"localhost\": {\n      \"host\": \"http://pksunkara.github.com\",\n      \"code\": 302\n    },\n    \"*\": {\n      \"host\": \"http://www.google.com\",\n      \"code\": 302\n    }\n  }\n}\n```\n\nThe \"*\" config is the catch all, every host not specified in the config will be redirected there.\n\n# Usage\n\n### Starting locally\n\n    node bin/server\n\n*Now you can visit http://localhost to be redirected*\n\nOr specify a custom port on wich to run the server:\n\n    node bin/server --port=3000\n\n# License\n\n(The MIT License)\n\nCopyright (c) 2011 Pavan Kumar Sunkara\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"redirect@0.2.0","dist":{"shasum":"029212327799ec65c8d53bca231607522c027dd0","tarball":"https://registry.npmjs.org/redirect/-/redirect-0.2.0.tgz","integrity":"sha512-4Xkge9VadBZdBKb8jMlOg4ocHuZqiDOIxWUJ+CIJQx81sdBYLzN5SB7n10D2WzVD3cFQgno8NtTtDTxXorR4sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuGHLFxU2TVnNk9Wy9/HVzD0HQOY4EWE6BEvoEFU2dTwIgWSltgRK47aBwB1wOXn9kqTALKG3NN3+fTGtH/h6YhgY="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"pksunkara","email":"pavan.sss1991@gmail.com"},"maintainers":[{"name":"pksunkara","email":"pavan.sss1991@gmail.com"}]}},"readme":"# node-redirect\n\nCreates a server which redirects incoming traffic to another domain.\n\n# Requirements\n\n- node\n- npm\n\n# Installation\n\n```\n    npm install redirect\n```\n\n# Configuration\n\nIn order to run the `redirect` application, you will need to modify the `config.json` with your redirection options.\n\n\n```js\n{\n  \"code\": 302,\n  \"host\": \"http://pkumar.github.com\"\n}\n```\n\n# Usage\n\n### Starting locally\n\n    node bin/server\n\n*Now you can visit http://localhost:3000 to be redirected*\n\n# License\n\n(The MIT License)\n\nCopyright (c) 2011 Pavan Kumar Sunkara\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"pksunkara","email":"pavan.sss1991@gmail.com"}],"time":{"modified":"2022-06-26T09:42:13.756Z","created":"2011-11-24T17:27:45.211Z","0.1.0":"2011-11-24T17:30:51.648Z","0.2.0":"2012-12-01T01:24:11.069Z"},"author":{"name":"Pavan Kumar Sunkara","email":"pavan.sss1991@gmail.com"},"repository":{"type":"git","url":"git://github.com/pksunkara/node-redirect.git"},"users":{"hannykujar04":true}}