{"_id":"express-rate-limiter","_rev":"36-bd10ae00036b556f9e5a32e23da1a728","name":"express-rate-limiter","description":"Rate limiter middleware for express applications","dist-tags":{"latest":"1.3.1"},"versions":{"0.5.0":{"name":"express-rate-limiter","version":"0.5.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"4.*","memory-cache":"*"},"_id":"express-rate-limiter@0.5.0","dist":{"shasum":"df85037a0b34f3abcb6d262c8adfa5a2af2d09e6","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.5.0.tgz","integrity":"sha512-poKRqHbHwzVYqHt5SgW4R2Y8nbebbNl7D5GS7ik6WlOhC5IRjy6cmdIFco72kKa81fkdQkgzEyZwOPeO4J01hQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKRKR81iujCuvYhu4eJ3vDSYnWz/aIO2q1HVWKDk6uJAiEA8EYZrKSQ6VTu2GxVC27sgr0kIdZqBYOdFMCllu+w7Kc="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.5.1":{"name":"express-rate-limiter","version":"0.5.1","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"4.*","memory-cache":"*","ipware":"*"},"_id":"express-rate-limiter@0.5.1","dist":{"shasum":"448bcc7dcc89f2fe7a87a7eaebf20f916c5ab547","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.5.1.tgz","integrity":"sha512-GrzRqxWBgem71ru2SxSzvdepCmDyLoHKBKCHQhnlE83ADmsf7nqV9xojYJ6Sdw8dsO3oPZ3jEG7LmtOuOgvBWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjPzc4DbStYHEXft/SX6Y47d9vfy9zuBfB4vfV7nByKwIhAMzaz+0cO9EfBFv5R0bjpGHM+tChKGG+7DyAr2dabrCZ"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.5.2":{"name":"express-rate-limiter","version":"0.5.2","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2","memory-cache":"0.0.5"},"_id":"express-rate-limiter@0.5.2","dist":{"shasum":"21891972990d37f0ba3532f3686d9392d61c1163","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.5.2.tgz","integrity":"sha512-QBzsK/sYnzKm/ibpOeJcQ0aJLAT98bSxZG6ppWaHzcHMD4pGMbBQYSSjN9nSVE/CbVaVKrZ5v5DQMjVw8Romow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUxkwM92ef3TpxtD1UbZBjes6x1KUqCKftVgBRiQJ/7wIhAI0/oq++KLlF0AyHLz3bLUDPYFZj5p49lUq3Ze9P/jNH"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.5.3":{"name":"express-rate-limiter","version":"0.5.3","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2","memory-cache":"0.0.5"},"_id":"express-rate-limiter@0.5.3","dist":{"shasum":"c7cab392b797d13e184961b8b2c28f1fe414da71","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.5.3.tgz","integrity":"sha512-kN1Lv1XwMPBjs3Pb1wiC7fSsiEVwa/v7fAbDgxQ9xIQsTGn3Pir2WhUgf43KWX6C6aCSUm3VbnBCMMdV1Q4nvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJkQbHZ02/Qv1M7DPbn5C5HBPi30EHDpo7clbnazT0PwIhAK03g+PeQ5W9wuXqH4FDvuWsHl567r8RAiAIVB2Yr40M"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.6.0":{"name":"express-rate-limiter","version":"0.6.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2","memory-cache":"0.0.5"},"_id":"express-rate-limiter@0.6.0","dist":{"shasum":"db44292c36ade256aa8728b3c4b88813073f004c","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.6.0.tgz","integrity":"sha512-EibKcHK2rKhywGujfKcRy7EaEp4v7eEQbBNMEj4kKwDhIGKZooqu15+795DR/aM1vKYrJZyxxrLzepbRcpfR/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3JyxDDHKAZt6z2gHGc/LCTBL2fkLDZOW76zaKTwHxHgIgHb9+cGXygDSI0nO/4Rz70hqZtmasPd5lbdaqPLpvMyA="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.7.0":{"name":"express-rate-limiter","version":"0.7.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2","memory-cache":"0.0.5"},"_id":"express-rate-limiter@0.7.0","dist":{"shasum":"43306c222dc21dd29ca9a85f3bea31b964fa8498","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.7.0.tgz","integrity":"sha512-b9IH3KbciU5mSu0fGQb1YRN0mvggQFiAnieBnuJAQCIcx39Uhom7BLqHERxbFVExjnDPQhA0j6iYTP0BmJFxDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSgRJDG6xX6HgTdTEAUY+ML6cl2mQ2+8nXFuYW3764lAIhAIKZhHxaY/ueksiB95wbL90kWMT3qyfooV1R/+Eg+emq"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.7.2":{"name":"express-rate-limiter","version":"0.7.2","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2","memory-cache":"0.0.5"},"_id":"express-rate-limiter@0.7.2","dist":{"shasum":"a9e65e6a0d71c76edf861f0ed8afc70401bd8c70","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.7.2.tgz","integrity":"sha512-6AllDjK8HMAUnMl0fmhszUKBzoi7PFV/+gkCv7enrMY8MAX9f870Eo8QgdIAAL0j+f3GwjK30rwqylTjS/za1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/LadmMXgLxDY4Xfk9FwpMDs2U7n5e27EuGsQU9TfPUAiEAlOXO+qSzRY713G2f+UGmBB5g3ecgXdYGyIYtrRBU+ag="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"0.8.0":{"name":"express-rate-limiter","version":"0.8.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"express":"~4.9.8","ipware":"0.0.2"},"_id":"express-rate-limiter@0.8.0","dist":{"shasum":"52566a812e6437131617a2d200e51ca58b30bc08","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-0.8.0.tgz","integrity":"sha512-gZXHysc/1RGWS19e7j3XGUVsAhVpvBsz0RTZl6M3Kv+EjVdhaB4qVZQW0jJG/mn8ja3rYebNXNpUYbEI2Tx7+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARtrMnLbtj2nv5tl3LjgOTbfMtJIuNROxTNvG33VHPIAiAbITJiDnBgJxDFtZTREJGc8sjXojEp5oRoaXThKCy1sw=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.0.0":{"name":"express-rate-limiter","version":"1.0.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"ipware":"0.0.2"},"_id":"express-rate-limiter@1.0.0","dist":{"shasum":"85b507a056b3187afcf9627a00089a157e72df53","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.0.0.tgz","integrity":"sha512-OcDTajOU2uO+bmmye3HT4qPOMUVXTxikQTB9bQIuhI09gd+oMdvfNFfbi/3WzdVb9al1MhyAQcIJmomWdA344w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAG8SN254Is8GaYPqF4vOS5nVdr2hCY/ASjVtrpPggmGAiEAgjSj5KLUh/g2Lzu7ahqUaE030Bjv+u1Ff8dResU3E5k="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.0.1":{"name":"express-rate-limiter","version":"1.0.1","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{"ipware":"0.0.2"},"_id":"express-rate-limiter@1.0.1","dist":{"shasum":"e9f6393501f36a4817f3609da0aaa69b413dfe9f","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.0.1.tgz","integrity":"sha512-hZrTjM9YQTlrP//qUFnpW5mobrY/VBhLHOAVBzMKgnD79o0Ne3gZRAAeH+yZ6VolEUC2TIlFvhMN9sDUAemOKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEItdCqB+qyqgo5OnzmzL4n+hkG47kcQYz0JlmsvBCt/AiADI6O8HXh467AZVM+CKDksv69leTwasnD1HyC+P67/KQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.1.0":{"name":"express-rate-limiter","version":"1.1.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"_id":"express-rate-limiter@1.1.0","dist":{"shasum":"8e72782878ac54181f69e0ae8ab93fb308e2bf6c","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.1.0.tgz","integrity":"sha512-vFzg1f5DAB6snYmzQ32VN4TCjf/cje4rnn3Ezq7hNm/MQzTRsgOrZ1VTLiGF6eOvgx8hXaZiWx9Hyz4irYbS6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE03d2+TqVK/4WEu76t8bLM1poJyqe6k6qmFChJ3/F4JAiEAtqyBfLqeKOlRmYaurITtib0LsMT/rK6sPFGdv4K+ksk="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.1.1":{"name":"express-rate-limiter","version":"1.1.1","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"_id":"express-rate-limiter@1.1.1","dist":{"shasum":"85bc6f7b0cfbca5c4553ba0f4aa1218214f8369a","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.1.1.tgz","integrity":"sha512-+JXJqs/kUsXS2JeXDm3VbXtkL1xA0dYDrGA6MM246SZRjApycM//gCbeXNPOXmKh7HlBTDta7E+I10k5OX5Rgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjAm+t7b8kyCo9VSs2Pkbywu43ByM9XYF5y8DCD9N1hAiAMMvNmNe5er+hJ3MvaIVpte7kdw3zHxEhB/Vt73dChpg=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"steventhuriot","email":"steven@thuriot.be"},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.2.0":{"name":"express-rate-limiter","version":"1.2.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"gitHead":"2311bf22811601306e4351651425cf4237f539f1","_id":"express-rate-limiter@1.2.0","scripts":{},"_shasum":"883c53da9f671fa3cada545c95a39a215dfab7e8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"steventhuriot","email":"npm@thuriot.be"},"dist":{"shasum":"883c53da9f671fa3cada545c95a39a215dfab7e8","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.2.0.tgz","integrity":"sha512-1NVa2si65a7e/Y2l+GQHGDSBeMq6D/qcJsS7JaC0lOdNytVHOnfcW+WA/6lUfeHADCKMMY3pPBMkP956W5fTGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxsJyPuWfCYv/2vHhMp9NfGGgd9bmQBW1Kd4o69xj3kAIgNKBqI0dOdNnYQKHPM/OwWHUWmUwXHwZO3nKEgeRbcRs="}]},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.2.1":{"name":"express-rate-limiter","version":"1.2.1","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"gitHead":"c889b2d91753d30c4904bf3e7201560318e07322","_id":"express-rate-limiter@1.2.1","scripts":{},"_shasum":"417c17875c977c5a3b1765b4830f2c0bbff234be","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"steventhuriot","email":"npm@thuriot.be"},"dist":{"shasum":"417c17875c977c5a3b1765b4830f2c0bbff234be","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.2.1.tgz","integrity":"sha512-/QgVFpE8zwyeUHkjnlV3oFtfMlMZDV6Qjv+ykxOBAIGB/nTyzyovzx9Ie8+mgOrHNEOoPiwUjjvZIExpmv7ZCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnS5KPC1R1U8gXRkI5zTEWCR8RqCA2l/6Xe0jMYr97GAiAs2OTpJsxHMC+0Vh4U6+ztl5Ay8qLC14/u17UorFTZtw=="}]},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.3.0":{"name":"express-rate-limiter","version":"1.3.0","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"gitHead":"df1a68116ec7fe7ab442709fbd60a6d84493ac06","_id":"express-rate-limiter@1.3.0","scripts":{},"_shasum":"41820b48408749fb96b8971acedb3299f291cda9","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"steventhuriot","email":"npm@thuriot.be"},"dist":{"shasum":"41820b48408749fb96b8971acedb3299f291cda9","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.3.0.tgz","integrity":"sha512-OK3Igw7hQ7/0SPH23Vc5mKhwrBKb/ZqKPrfxdM/sDpR/MTjLLDahM6x9uxXCggrg/B/xAaR7oFO+Ww3XgHBU+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfb0Mx5ZDZ6VsgTlMmWbqNvxx8HiyK+UXinK3AsLMHjwIhAMNN1wFaUbJLBEIcSFfCgkw8QFrBiyeAw9lFMq/0kQUf"}]},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]},"1.3.1":{"name":"express-rate-limiter","version":"1.3.1","description":"Rate limiter middleware for express applications","main":"index.js","author":{"name":"Steven Thuriot"},"licenses":[{"type":"Apache-2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","dependencies":{},"gitHead":"11bccd96d214f1a30ac25101ec35f4bdb0c02643","_id":"express-rate-limiter@1.3.1","scripts":{},"_shasum":"4c3444e796969d971817abdbb6a3b8a86fcda9b4","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"steventhuriot","email":"npm@thuriot.be"},"dist":{"shasum":"4c3444e796969d971817abdbb6a3b8a86fcda9b4","tarball":"https://registry.npmjs.org/express-rate-limiter/-/express-rate-limiter-1.3.1.tgz","integrity":"sha512-qLRc4ZkyCcfUCjPtVjwQOtf4OYPc7hc6ObOFemeeVYLlbam541/B7R33VvhztFsBGRUIT/wJW/oJz8n5k+fRfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdjaCPvVxnZsdaDXLugRFT4sx4oJdcugLt03hOy/+lKAiEAu+FcIYBlEwBvNQMg4rVkHwv0Koj/vNvuMwUDdiPMSUY="}]},"maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}]}},"readme":"[![Express Rate Limiter](http://img.dafont.com/preview.php?text=Express+Rate+Limiter&ttf=squared_display0&ext=1&size=64&psize=m&y=53)](https://github.com/StevenThuriot/express-rate-limiter)\n====================\n\n[![npm](https://img.shields.io/npm/v/express-rate-limiter.svg?style=flat-square)](https://www.npmjs.org/package/express-rate-limiter)[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://www.npmjs.org/package/express-rate-limiter\n )\n\nRate limiter middleware for express applications.\n\nThis limiter has two kinds of limits: an inner and outer limit. It limites based on user ip.\n\nThe inner limit is against hammering (e.g. only 3 calls allowed per second). The outer limit is for protecting against over-use. (e.g. max 60 times per two minutes).\n\nThe limits are currently held in memory. It's on my roadmap to abstract the use of this module, so other modules can be plugged in instead (e.g. redis).\n\n\n# Usage\n\nInstall\n\n```\nnpm install express-rate-limiter --save\n```\n\nFirst, create a new Limiter;\n\n```javascript\nvar Limiter = require('express-rate-limiter');\nvar MemoryStore = require('express-rate-limiter/lib/memoryStore');\nvar limiter = new Limiter({ db : new MemoryStore() });\n```\n\nThe memory store is a lightweight in memory cache. This can be replaced by any other database implementing [store.js](/lib/store.js), for example the [MemoryStore](/lib/memoryStore.js).\n\nAfterwards, use the limiter to create an express middleware for the express methods you want to rate limit.\n\n```javascript\napp.post('/', limiter.middleware(), function(req, res) {   \n\n});\n```\n\nAnything written in the callback will now be rate limited.\n\n\n\n#Default values\n\nDefault settings for the created middleware are as follows:\n\n* outerTimeLimit: `2 * 60 * 1000`\n\t* default: `2 minutes`\n\t* Time in milliseconds for the outer limit.\n\t* This will also be used as the cache expiration.\n\t* Mainly to prevent over-use: The lenient limiter. \n* outerLimit: `60`\n\t* default: `60 attempts`\n\t* Number of attemps for the outer limit.\n* innerTimeLimit: `1500`\n\t* default: `1.5 seconds`\n\t* Time in milliseconds for the inner limit.\n\t* Mainly to prevent hammering: The hardcore limiter.\n* innerLimit: `3`\n\t* default: `3 attemps`\n\t* Number of attempts for the inner limit.\n* headers: `true`\n\t* default: `add headers`\n\t* Send headers along with response.\n* limitOnError: `true`\n    * default: `true`\n    * When an error occurs when looking up the ip in the key store, limit the post if `true`.\n* db: `undefined`    \n    * default: No default value available.\n    * Key Value store being used to rate limit.\n* pathLimiter: `boolean`\n    * default: false\n    * adds a path to the ip for the request limiter identifier. It allows to has differents limiters for each path in the application\n* path `''`\n    * default: empty value\n    * if this value is passed, it will be the value that will be joined to the ip for the limiter identifier. If has not value, the value will be readed from the request. This option only will be applied if \"pathLimiter\" has true as value\n\nThey can be overwritten globally by passing them to the initiator. Properties that were not passed will automatically take default value.\n\n```javascript\nvar limiter = new Limiter({innerLimit: 5});\n```\n\nSettings can also be overwritten per middleware. When a setting is not passed through the initiator, it will revert to the setting specified in the ctor of the Limiter you're using. If you didn't pass that setting there either, it will use the default value instead.\n\n```javascript\napp.post('/', limiter.middleware({innerLimit: 10, headers: false}), function(req, res) {   \n\n});\n```\n\n\nWhen the limit has been reached, the actual method logic will not be executed, but instead a status 429 (Too many Requests) will be sent to the client.\n\n#Headers\nHeaders are automatically added to the response.\n\nThe available headers are:\n* X-RateLimit-Limit\n* X-RateLimit-Remaining\n* X-RateLimit-Reset\n* Retry-After (Only in case of a 429 response)\n\nFor `X-RateLimit`-headers, the outer limits are used as response values.\n\n#Notes\nThe framework relies on the fact that express' `req.ip` is correct. This might not always be the case, e.g. when running behind a proxy like NGINX or hosting your app on a platform like `Heroku`.\n\nWhen this is the case, don't forget to initialize express using the following snippet:\n\n```javascript\napp.enable('trust proxy');\n```\n","maintainers":[{"name":"steventhuriot","email":"steven@thuriot.be"}],"time":{"modified":"2022-06-17T22:32:26.130Z","created":"2014-10-20T18:03:32.460Z","0.5.0":"2014-10-20T18:03:32.460Z","0.5.1":"2014-10-20T18:05:14.369Z","0.5.2":"2014-10-20T18:21:32.161Z","0.5.3":"2014-10-20T18:25:41.550Z","0.6.0":"2014-10-23T19:00:51.620Z","0.7.0":"2014-10-25T19:03:50.603Z","0.7.1":"2014-10-25T19:07:26.095Z","0.7.2":"2014-10-25T19:15:54.508Z","0.8.0":"2014-10-28T20:00:10.761Z","1.0.0":"2014-11-14T22:19:48.971Z","1.0.1":"2014-11-14T22:22:01.479Z","1.1.0":"2014-12-09T19:01:08.336Z","1.1.1":"2014-12-09T19:11:32.346Z","1.2.0":"2015-09-05T21:00:25.626Z","1.2.1":"2015-09-12T09:27:30.589Z","1.3.0":"2015-10-23T17:37:26.842Z","1.3.1":"2015-11-06T21:11:07.193Z"},"homepage":"https://github.com/StevenThuriot/express-rate-limiter","repository":{"type":"git","url":"git://github.com/StevenThuriot/express-rate-limiter.git"},"author":{"name":"Steven Thuriot"},"bugs":{"url":"https://github.com/StevenThuriot/express-rate-limiter/issues"},"readmeFilename":"README.md","users":{"paraself":true}}