{"_id":"should-proxy","_rev":"6-6824b1212434591a941c73b85e442a3c","name":"should-proxy","description":"Checks if a url should be proxied","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"should-proxy","version":"1.0.0","description":"Checks if a url should be proxied","main":"index.js","scripts":{"test":"node test/index.js","format":"bash script/format"},"repository":{"type":"git","url":"git+https://github.com/pdxjohnny/should-proxy.git"},"keywords":["proxy","no_proxy","no-proxy"],"author":{"name":"John Andersen"},"license":"MIT","bugs":{"url":"https://github.com/pdxjohnny/should-proxy/issues"},"homepage":"https://github.com/pdxjohnny/should-proxy#readme","gitHead":"37168d5a0c52b46e488a14da4be2e01a2cb69a81","_id":"should-proxy@1.0.0","_shasum":"67ae58403e886201b6bd6dfdb0d2504b5665749a","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"},"dist":{"shasum":"67ae58403e886201b6bd6dfdb0d2504b5665749a","tarball":"https://registry.npmjs.org/should-proxy/-/should-proxy-1.0.0.tgz","integrity":"sha512-BbDJCvDF+p8ryBchSAkfOA4tYyM87SBdV6f2hXsSXncphKRIPY//3ApQImQUfshrxYYs7txAFqe5PvoCBhrh4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1XWkUcnkLahnZW2ctGP39gmZKelWKDOcmN/E76stl6AIgIPp3khb1H6DxCqWPatblQrCAqe8nFkXQMzDSnqBKOSU="}]},"maintainers":[{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"}]},"1.0.1":{"name":"should-proxy","version":"1.0.1","description":"Checks if a url should be proxied","main":"index.js","scripts":{"test":"node test/index.js","format":"bash script/format"},"repository":{"type":"git","url":"git+https://github.com/pdxjohnny/should-proxy.git"},"keywords":["proxy","no_proxy","no-proxy"],"author":{"name":"John Andersen"},"license":"MIT","bugs":{"url":"https://github.com/pdxjohnny/should-proxy/issues"},"homepage":"https://github.com/pdxjohnny/should-proxy#readme","gitHead":"bad317facc1ede1004498ba5a7f2732d061e60c3","_id":"should-proxy@1.0.1","_shasum":"ddc6f0776d442118a3d69d77600f66578dad4c63","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"},"dist":{"shasum":"ddc6f0776d442118a3d69d77600f66578dad4c63","tarball":"https://registry.npmjs.org/should-proxy/-/should-proxy-1.0.1.tgz","integrity":"sha512-wBrg4/t41qKPG3D/Q5NzxYjRs/Cv4bAa2ukPJkq8580mHISR/VCZXr8R8hgvAx96nzFg85zNeje/avsKI/+9GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2oP/tl/v2aGFHzvbE/cSnWcUOm9Jo3tVOcUAgfzColgIgIue6mW9BYj35NrfHP7mtIuiv3Ur+RRUTznv0dWEzfjI="}]},"maintainers":[{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"}]},"1.0.3":{"name":"should-proxy","version":"1.0.3","description":"Checks if a url should be proxied","main":"index.js","scripts":{"test":"node test/index.js","format":"bash script/format"},"repository":{"type":"git","url":"git+https://github.com/pdxjohnny/should-proxy.git"},"keywords":["proxy","no_proxy","no-proxy"],"devDependencies":{"expect.js":"~0.2.0"},"author":{"name":"John Andersen"},"license":"MIT","bugs":{"url":"https://github.com/pdxjohnny/should-proxy/issues"},"homepage":"https://github.com/pdxjohnny/should-proxy#readme","gitHead":"484114229a62c93bf0749b40dc6144516c1a8c19","_id":"should-proxy@1.0.3","_shasum":"02f324910a229194c80d36d8110532ba9e8c2729","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"},"dist":{"shasum":"02f324910a229194c80d36d8110532ba9e8c2729","tarball":"https://registry.npmjs.org/should-proxy/-/should-proxy-1.0.3.tgz","integrity":"sha512-EeTpO7MNMpNN4HBtQ5RizuFjWT2t8vekgN8x4wwanUiqGYfVfO6xLXNHHOUkDSOgBGHlCTBStGTYag3rLJUMCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGR4NzVwBIbLr58rG4AWHhxlovKrDNgEW3qhvmNXPr5aAiEAyxYmRN0H/KRzB1dZU3v2qitYl8e7aORUktGWtj34oeo="}]},"maintainers":[{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"}]},"1.0.4":{"name":"should-proxy","version":"1.0.4","description":"Checks if a url should be proxied","main":"index.js","scripts":{"test":"node test/index.js","format":"bash script/format"},"repository":{"type":"git","url":"git+https://github.com/pdxjohnny/should-proxy.git"},"keywords":["proxy","no_proxy","no-proxy"],"devDependencies":{"expect.js":"~0.2.0"},"author":{"name":"John Andersen"},"license":"MIT","bugs":{"url":"https://github.com/pdxjohnny/should-proxy/issues"},"homepage":"https://github.com/pdxjohnny/should-proxy#readme","gitHead":"fd7eed4bd6c42565ab00cef82cae9163a9582a2e","_id":"should-proxy@1.0.4","_shasum":"c805a501abf69539600634809e62fbf238ba35e4","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"},"dist":{"shasum":"c805a501abf69539600634809e62fbf238ba35e4","tarball":"https://registry.npmjs.org/should-proxy/-/should-proxy-1.0.4.tgz","integrity":"sha512-RPQhIndEIVUCjkfkQ6rs6sOR6pkxJWCNdxtfG5pP0RVgUYbK5911kLTF0TNcCC0G3YCGd492rMollFT2aTd9iQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4UjUJL+PT6qWUzbE7k+ZnlS2cGtIp6JZhsKqRgcGdMAiEA3+PKJ7OukAl2pp8Jh0DaHyzgxpJtr5FLr58dGrBTlgw="}]},"maintainers":[{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"}]}},"readme":"#should-proxy\n\nshould-proxy uses a no_proxy list formatted like so\n`localhost,127.0.0.0/8,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12,.internal.com`\nTo determine if a url should be proxied or not.\n\nshould-proxy is a function that takes a url as well as options.\nIf no options are provided should-proxy uses the environment variable `no_proxy`\n\nUsage\n---\n\n```javascript\nvar shouldProxy = require('should-proxy');\n\nvar result = shouldProxy(\"http://something.google.com/\", {\n  no_proxy: \"google.com\"\n});\n// Should be false, because google.com is on the no_proxy list provided\nconsole.log(\"http://something.google.com/\", result);\n\nresult = shouldProxy(\"http://localhost/\", {\n  no_proxy: \"\"\n});\n// Should be true, because localhost is not the no_proxy list provided\nconsole.log(\"http://localhost/\", result);\n\n// Omitting the options object will cause should-proxy\n// to use process.env[\"no_proxy\"]\n```\n","maintainers":[{"name":"pdxjohnny","email":"johnandersenpdx@gmail.com"}],"time":{"modified":"2022-06-26T19:05:55.511Z","created":"2015-09-09T20:04:20.241Z","1.0.0":"2015-09-09T20:04:20.241Z","1.0.1":"2015-09-09T20:39:10.693Z","1.0.3":"2015-09-10T15:02:03.609Z","1.0.4":"2015-09-10T15:10:33.737Z"},"homepage":"https://github.com/pdxjohnny/should-proxy#readme","keywords":["proxy","no_proxy","no-proxy"],"repository":{"type":"git","url":"git+https://github.com/pdxjohnny/should-proxy.git"},"author":{"name":"John Andersen"},"bugs":{"url":"https://github.com/pdxjohnny/should-proxy/issues"},"license":"MIT","readmeFilename":"README.md"}