{"_id":"http-route-proxy","_rev":"55-ad2616a2a21815d3a1c4b2212d000bb1","name":"http-route-proxy","description":"Convenient HTTP proxy for cross-domail request, request forward.","dist-tags":{"latest":"0.2.2"},"versions":{"0.0.1":{"name":"http-route-proxy","version":"0.0.1","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.1","dist":{"shasum":"3ef3854223434b3bff032324548a95207897944a","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.1.tgz","integrity":"sha512-UbdsWNafgiPhUo7zX3QGfl8LRdYZBAAF+8rWmZiom8pzxnk8CKvfOO1gwQwPRr1TP11zCD6XCuVI79xa2BBVxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEovnjWei1D5IAr3iW/BmWVH5BU6+Yy3cSe/0J5XDJRAiBaZf4Q6ClllZT/6KXeEgJYlK6q2GVpb4LPh1sifvvDDg=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.2":{"name":"http-route-proxy","version":"0.0.2","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.2","dist":{"shasum":"a1d45043914b2e5c166dc17822f7092d66f33176","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.2.tgz","integrity":"sha512-3Odnnn+uV9ZaY1tTzDbY/Rn1Sild+iuTSYetop0M/ixCy9ME0J7wt8Kob9WXA0jyZU8/bAhgtmO8rUL33bI3kQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVYdZiTaY9MqhEC47ECIk8Vb+7orS80gerbZPcOPk4bAiEA3XM39FJ9NsLbOvbe+NOwclwow8jOx42/m5+ARuhp2VU="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.3":{"name":"http-route-proxy","version":"0.0.3","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.3","dist":{"shasum":"a1b4fae769436251292067a6429401c64f9d6899","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.3.tgz","integrity":"sha512-HtPdk3p7AcxpsfqMefWr3liUaHyqBWF0wnliK8W/4d1ZMQfFg36yAYlLLoQxEoVgmTZaQQF4ujDDaZw7WZPciw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHk/7xV/hKNhF/ylLXx3JDz9JPgaVAiw8VLh9vubwf84AiBkQxAIZo28XeNTbkgquID8V36c/xMQiApz0CepC0wKjw=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.3-1":{"name":"http-route-proxy","version":"0.0.3-1","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.3-1","dist":{"shasum":"4a9013a96b897c9d29e26084dbddc3cfb945d5ae","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.3-1.tgz","integrity":"sha512-WzaI7e7gVGvjiYNMrSWqa/v5KXyGX7MCKD5P9F/lCgiFxku5qrDCGnmYaifgLSMl2eT5XZpCNGPlU5PwsV/CxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHS3TkjdDQZy0tzx+wOTff5tv0/caXSl+XfGWAik7ixQIgVXZJDI5Mut6gRdCJgkRAcW/ArBtoTM20xGXWA2s8I70="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.4":{"name":"http-route-proxy","version":"0.0.4","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.4","dist":{"shasum":"7be597ee5fc4e92729bc3f2a0391bc72cae7c43c","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.4.tgz","integrity":"sha512-ERfLquJdpRfhMZ+qE6yH4UZ0MI+yon9JmNUPrEzGEEYuz2VIJinj+75jIDHYcbQ3RFYkO2h6FWAF7REgs3no7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDajuMgvW7USO2n2UxEw4NVk4IuU02aUZ6r5Zrf+W1oWgIgdKvHnSJiZ5QKETuGg8lAjEePAOxEmHnnE8fFgzdqAAA="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.5":{"name":"http-route-proxy","version":"0.0.5","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.5","dist":{"shasum":"b0e4125d4f65323dcc5d9e68729d98c06f1f656e","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.5.tgz","integrity":"sha512-lbXz8yW2/AXQp/9gUfT83wROtjlIfdFmfkH/Zyp5+LGQKLw9SUfp/oW82k2WK98vFeQYpukzDjdFxZrB6e3ZjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDczmT+13HsO3uH1LveXW/YlfexKa8Oyg07/aXbUKQk3QIhALyqpk+TGL2G8iyHI/zwVgVtD0kbGkBm7xhnmq7NaJTo"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.5-1":{"name":"http-route-proxy","version":"0.0.5-1","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.5-1","dist":{"shasum":"d661cf0ae722d87968b86d2d579180b0565d7f2b","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.5-1.tgz","integrity":"sha512-nKHTr2NQlz7w5/8GxqcCdvyyrNhjTeHG11lJMie7PlFeehmoKuXsxj9GNN+WSLem9LEj1OVtcSUzLI7N9d3jSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTTiNT9Id7HtoVXVboY5Zaj86IsnFy+Qslh77KwtplkAiAzBJ8kwoT63Nj+ek2NNFfLqmX7bjVknP3gN4g2Dl5LiA=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.6":{"name":"http-route-proxy","version":"0.0.6","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.6","dist":{"shasum":"a9fcaa6200046b797f3a9b0b140aa54169a9d01c","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.6.tgz","integrity":"sha512-FXB6QWZC7eSx6iMPkQwblwtaw1cFxg1F3A13r9d/rB41MZR53e5t6wz1gr6qd2ogS7hd22JtCygHdri7EZvoRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC9inKRkF2IGmfx7o3tYmDQJ4V6dmo4mLFqKEAtBAAbAiEAm8RPX5zT74cfrbiZXqiXyZeWCrgksyNkHyZD9fy8BdU="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.6-1":{"name":"http-route-proxy","version":"0.0.6-1","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.6-1","dist":{"shasum":"c0c3f85d8934300f367b9f6170f60b4522186466","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.6-1.tgz","integrity":"sha512-C6/z8voUvODSiywj620qj5mGQIHnLt5rGJhwY0BFbDkJG4tqWXD5Wl1EaOazknN3Shen9Fruh4qJuA3Jk6QNCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtzyAeEdn8f1Tnmpp/efGWbZP2pU0+WDz1BY51Rif3hAIhAIvhZwuAoxJm3ylHyqfV982hWogLpTCEMmoJPg00gfMx"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.0.6-2":{"name":"http-route-proxy","version":"0.0.6-2","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.0.6-2","dist":{"shasum":"2dbe5aabe689911fde7e2fe30fabbc23c962b8a0","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.0.6-2.tgz","integrity":"sha512-c7ofXW8jruc4zI9YzRE3UvGmkp1RzggO5ytfHH/0Lo+mPXL8kpYaMh8V1KOz9s9EmfVLSkF8DzIGBnJkPseVsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTVrvUDM6pORFlm81Am0ueSiqiYg5zuUjfzHx+gvJ2+AiEA8SXpSFdenBcadL3vo8kqBnqmbPcNMP9rtFXjcuYlcmk="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.1.0":{"name":"http-route-proxy","version":"0.1.0","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.1.0","dist":{"shasum":"216b7ae938662e5665895369ee4556186a61d4f8","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.1.0.tgz","integrity":"sha512-wwBR7ZoFjvhZIXgn6wZOJlQFMi4cO9ljSnGA8YWCSDykdpY3jm0iEs6sPewbZi68e56WGK3ER+2lJq2EGyWfCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwseTQWuaQXmpGSgx98KiNbHMsF0xkijSlWieg9rNf0AiEAg/hFkZWSvr2XrXc+tBBE+9Mg9Yndu7xpt3ETi1O3VK4="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"directories":{}},"0.1.1":{"name":"http-route-proxy","version":"0.1.1","description":"Convenient HTTP proxy for cross-domail request, request forward and creating mock data.","main":"server.js","scripts":{"test":"node test/test.js","start":"node server.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","proxy","cross-domain","request","forward","mock"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"_id":"http-route-proxy@0.1.1","dist":{"shasum":"41a9336be53dbf08b4a30651d4133f254dfca383","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.1.1.tgz","integrity":"sha512-06ACLPoKJLxIbJXU42z4dEplIFuIrQwNfv0J0oi3gkrCzaBPYKjRPLvoJZoy2lZg2Hi3PrHHy5O10l5LzxxVnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPaofROhskDDZYWnN5jHGbiPtmXgFTExTnJkKyDGDZAAiBAnqxn3GYoSn/OxlitgkwVi/vob06r4uE8rL+EmvkfiA=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}]},"0.2.0":{"name":"http-route-proxy","version":"0.2.0","description":"Convenient HTTP proxy for cross-domail request, request forward.","main":"index.js","scripts":{"test":"node test/","start":"node index.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","https","proxy","cross-domain","request","forward","express","connect"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"gitHead":"7e0ec7be594696e19edf71ad9b9d32e9bdac5f26","homepage":"https://github.com/switer/http-proxy","_id":"http-route-proxy@0.2.0","_shasum":"14b4f89de6f9e260e74f9137a37f1751d2da7795","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"dist":{"shasum":"14b4f89de6f9e260e74f9137a37f1751d2da7795","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.2.0.tgz","integrity":"sha512-mtcTV3UWO/FxDniKKufm4/NZcm+8vftgykTnSp4alrUO59QBAXyGqtKLTA0UrBtPnZELXKW03D84j0IlUttsfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRAbb2L/RWP/axwDactnzq08AFP/hEPAxckf9Rc+LRNgIhAI17aUngX+sDEmJP59LQz8KQ+ddbOa70gHjP5em6zZ6W"}]}},"0.2.1":{"name":"http-route-proxy","version":"0.2.1","description":"Convenient HTTP proxy for cross-domail request, request forward.","main":"index.js","scripts":{"test":"node test/","start":"node index.js"},"repository":{"type":"git","url":"https://github.com/switer/http-proxy.git"},"keywords":["http","https","proxy","cross-domain","request","forward","express","connect"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"gitHead":"a308d435a2aea0e45dbb03d2132b75359ee531cd","homepage":"https://github.com/switer/http-proxy","_id":"http-route-proxy@0.2.1","_shasum":"b3073f00d539a365ffc17ed52f4892c22b97442d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"dist":{"shasum":"b3073f00d539a365ffc17ed52f4892c22b97442d","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.2.1.tgz","integrity":"sha512-f01shoO6rAZ+MYXJp8224Sw7UKBOWJuJhh80akrVavJOOdvAQ8aSBcfsB0q57XCfMUvVRfb6ZUoGdD8CPPAFbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3Y2t0GP/Z6U2XKgYHNH1/Adb0o8ZP5CBfRqXQKBJXkAiBHVjXnW6MqDqHf34nPDxyWRMj+5WI02mqrSpqDKx8nsQ=="}]}},"0.2.2":{"name":"http-route-proxy","version":"0.2.2","description":"Convenient HTTP proxy for cross-domail request, request forward.","main":"index.js","scripts":{"test":"node test/","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/switer/http-proxy.git"},"keywords":["http","https","proxy","cross-domain","request","forward","express","connect"],"author":{"name":"switer"},"license":"MIT","bugs":{"url":"https://github.com/switer/http-proxy/issues"},"dependencies":{"colors":"~0.6.2","http-proxy":"~0.10.3","underscore":"~1.5.2","send":"~0.1.4"},"gitHead":"39fa17942d181ab18d26b8779784b7c6f5ef1c88","homepage":"https://github.com/switer/http-proxy#readme","_id":"http-route-proxy@0.2.2","_shasum":"cf6bf4fddf4c6d45d926b7423da09988275e7252","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"switer","email":"guankaishe@gmail.com"},"dist":{"shasum":"cf6bf4fddf4c6d45d926b7423da09988275e7252","tarball":"https://registry.npmjs.org/http-route-proxy/-/http-route-proxy-0.2.2.tgz","integrity":"sha512-C+F8115uD+s3mUEQHcrETLfZ/EWPhuscjSONDDfur0Ff/uQ0wHym4dC3oitO2tsDN43QE0xXbfWDn7Vninqpsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyS5o+t4kiYJjY6F+YjEEw/6SVfnUw2ZUAvhBgGzK36QIgPg/g4DOxG+Dix9P4Us6rcdw/+x/MHnf9HI9W0pP6DpI="}]},"maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-route-proxy-0.2.2.tgz_1473303252693_0.6128858155570924"}}},"readme":"http-route-proxy\n==========\n\nConvenient HTTP/HTTPS route proxy for cross-domain request, request forward.Support using as express connect middleware.\n\n### Installing\n\n```bash\nnpm install http-route-proxy\n```\n\n### Testing\n\n```bash\nnpm test\n```\n\n### Using http-route-proxy\n\n#### Sample:\n\n```javascript\nvar proxyServer = require('http-route-proxy');\n\n/**\n *   proxy configs\n */\nproxyServer.proxy([\n    // common config\n    {\n        // origin host + port\n        from: 'localhost:9000',\n        // forward host + port\n        to: '192.168.1.1:8088',\n        // match forward action rule\n        // `\"/\"` means forward match all actions, \n        // `!/public` means match local static forward match `/public.*`\n        route: ['/', '!/public']\n    }\n]);\n```\n\n#### Set Headers\n```javascript\nproxyServer.proxy([\n    {\n        from: 'localhost:9000',\n        to: 'www.google.com',\n        https: true,\n        headers: {\n            req: {origin: 'www.google.com', referer: 'www.google.com'},\n            res: {'access-control-allow-origin': 'https://www.google.com', 'access-control-allow-credentials': true}\n        }\n    }\n]);\n```\n\n#### Using HTTPS\n```javascript\nproxyServer.proxy([\n    {\n        from: 'localhost:9000',\n        to: 'www.google.com',\n        https: true\n    }\n]);\n// or\nproxyServer.proxy([\n    {\n        from: 'localhost:9000',\n        to: 'https://www.google.com'\n    }\n]);\n```\n\n#### Forward By Request Path\nForward to various host on matching the path action\n\n```javascript\nproxyServer.proxy([\n    {\n        from: 'localhost:9000',\n        to: 'www.google.com',\n        route: [\n            {\n                action: '/switer',\n                forward: 'https://github.com',\n                headers: {\n                    req: {origin: 'https://github.com'}\n                }\n            },\n            {\n                action: '/imper',\n                forward: 'https://switer.github.io',\n                headers: {\n                    req: {origin: 'https://github.io'}\n                }\n            },\n            '!/public'\n        ]\n    }\n]);\n```\n\n#### Using as express connect middleware\n__express app.js config:__\nPush it on the first of connect\n\n```javascript\napp.use(proxyServer.connect({\n  to: 'www.google.com',\n  https: true,\n  route: ['/']\n}));\napp.use(express.favicon());\napp.use(express.logger('dev'));\napp.use(express.bodyParser());\napp.use(express.methodOverride());\napp.use(app.router);\napp.use(express.static(path.join(__dirname, 'public')));\n```\n\n### Change Log\n\n#### Version 0.2.0 - 2015/08/26\n- [Bug]: Fixed bug when using as express middleware sometimes base-url will be stripped off. \n\n#### Version 0.1.1 - 2013/12/30\n\n- [Feature]: Support using as express connect middleware\n\n#### Version 0.1.0 - 2013/12/28\n\n- [Feature]: Forward to various host on matching the path action.\n\n#### Version 0.0.6-1 - 2013/12/26\n\n- [Feature]: route field isn't necessary and it has defualt value of `['/']`\n\n#### Version 0.0.6 - 2013/12/26\n\n- [Feature]: Support set request and response headers\n\n#### Version 0.0.5-1 - 2013/12/26\n\n- [Fixed bug]: route proxy http to https website which certificate has not been unauthorized will be response error\n\n#### Version 0.0.5 - 2013/12/25\n\n- [Feature]: Support https route proxy\n\n#### Version 0.0.4 - 2013/12/18\n\n- [Feature]: Support cross-domain request\n\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 `guankaishe`\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies 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, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","maintainers":[{"name":"switer","email":"guankaishe@gmail.com"}],"time":{"modified":"2022-06-18T22:15:31.751Z","created":"2013-12-02T06:39:45.483Z","0.0.1":"2013-12-02T06:39:50.570Z","0.0.2":"2013-12-02T07:22:02.536Z","0.0.3":"2013-12-02T11:41:34.994Z","0.0.3-1":"2013-12-03T06:32:50.546Z","0.0.4":"2013-12-18T09:48:28.482Z","0.0.5":"2013-12-25T12:17:39.509Z","0.0.5-1":"2013-12-26T02:18:01.084Z","0.0.6":"2013-12-26T02:50:35.136Z","0.0.6-1":"2013-12-26T12:03:39.887Z","0.0.6-2":"2013-12-27T10:41:25.455Z","0.1.0":"2013-12-28T10:40:15.659Z","0.1.1":"2013-12-30T07:54:14.412Z","0.2.0":"2015-08-26T03:01:08.237Z","0.2.1":"2015-08-26T14:58:05.598Z","0.2.2":"2016-09-08T02:54:14.230Z"},"author":{"name":"switer"},"repository":{"type":"git","url":"git+https://github.com/switer/http-proxy.git"},"users":{"fgribreau":true},"keywords":["http","https","proxy","cross-domain","request","forward","express","connect"],"bugs":{"url":"https://github.com/switer/http-proxy/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/switer/http-proxy#readme"}