{"_id":"cloudfront-ip-ranges","_rev":"14-6645b9308be89c184763019ddcb309d2","name":"cloudfront-ip-ranges","dist-tags":{"latest":"1.0.2","next":"2.0.0"},"versions":{"0.1.0":{"name":"cloudfront-ip-ranges","version":"0.1.0","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","scripts":{"prebuild":"npm run clean","build":"tsc","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","deps":"ncu","deps:update":"npm run deps -- -u","postdeps":"npm audit","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","start":"node dist/index.js","test":"npm run test:unit","pretest:unit":"jest --clearCache","test:unit":"jest --verbose --coverage","version":"npm --no-git-tag-version --allow-same-version version"},"repository":{"type":"git","url":"git+ssh://git@github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"^4.17.1","@types/jest":"^24.0.18","@types/node":"^12.7.12","@types/rimraf":"^2.0.2","husky":"^3.0.8","jest":"^24.9.0","jest-coverage-badges":"^1.1.2","jest-each":"^24.9.0","jest-junit":"^8.0.0","lint-staged":"^9.4.2","npm-check-updates":"^3.1.24","rimraf":"^3.0.0","ts-jest":"^24.1.0","tslint":"^5.20.0","tslint-config-airbnb":"^5.11.2","tslint-eslint-rules":"^5.4.0","typescript":"^3.6.4"},"engines":{"node":">10"},"dependencies":{"chalk":"^2.4.2","debug":"^4.1.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test:unit"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"types":"dist/index.d.ts","gitHead":"91da93fafa0ac215a5b6f796caf537bce121ac1d","_id":"cloudfront-ip-ranges@0.1.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-B+mAbx8aqRgeSKznjtsZOh1cATUtcORBD+YqLKxgpMXSD0L7k9Fnnnrasm6NZFKMdYNJNNal/ZzhVWgJpuUxsA==","shasum":"92f471dcfb0adefa8f2c5466763b6b9696960c42","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-0.1.0.tgz","fileCount":16,"unpackedSize":150780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoQXFCRA9TVsSAnZWagAA+pgP/Al72aXc2sErN4E1kXGj\nBoAcGPC8muicIE98rfafs959FH7PUHVzbjE38embSXF3DIJfZtvseWYCOKSz\nWWWBX3ajGdGF+D35qdttxhJ9e+Bk9beXHARP7nuyRr3dQ+AKTI0LqcjsL5VX\niHmngDb0lwN8HWoof8UFvGsSJoUJuaG7BpUhRq8DJmw7EACASUOEQlqffHN/\nrHKbUuJWEQoCKzi3eyyxBHHflN6FyLfmGs6bxQyZqV0PGaXR9aXc60xIZz6T\nNGwg2Nb3f2Om3MHkKVf+0P72MlYVoxhoo0vwAbKF3//9gd+v93aw2rEybU25\nPJavfW5V+oORb89G/xKrtcc2i+ISeod7JeqbB0LhJTdWCyojdxlOynJpWy1x\nUWCEO5DSOm1u02eTZsyWaTD5vA2GauAlh+OHISowZwlpMA8zjDBTnikZWmBx\noZ4SC/KpwPdjF3R65FyxSsLpyU1hpmb4MEAGBZfs+9DiBnvXSDlRaPnvzLXZ\nbQTfgA/7IVf5wANfsk63JRqhXqCi3FBxniaGDsrvxyc+RcBsHTI0YZYAWpUK\nqHrmu+8R9NuLSWfkHEyKs/2YdKeXKmwYT4yhN9gCFVrmkfBsOpg9K2JUsIe3\nyb6iLsHrTp42oCbBagCDqb2RYF7i2Ul/HJ5yGE5h1wUQHOj8yiT7OjMo1+8k\nPwPw\r\n=Cd6v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDen/Q6mG8nxIZJhNm6ghn9b291NXTQWyJff3u6RiM+wgIhAOL1oOX0gpoom921r+MP5mYCmjP2zXX9Ur7eFlwt9bRm"}]},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_0.1.0_1570833861250_0.6911382986920971"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped, please use 1.0.2 or 2.x"},"0.1.1":{"name":"cloudfront-ip-ranges","version":"0.1.1","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","deps":"ncu","deps:update":"npm run deps -- -u","postdeps":"npm audit","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","start":"node dist/index.js","test":"npm run test:unit","pretest:unit":"jest --clearCache","test:unit":"jest --verbose --coverage","version":"npm --no-git-tag-version --allow-same-version version"},"repository":{"type":"git","url":"git+ssh://git@github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"^4.17.1","@types/jest":"^24.0.18","@types/node":"^12.7.12","@types/rimraf":"^2.0.2","husky":"^3.0.8","jest":"^24.9.0","jest-coverage-badges":"^1.1.2","jest-each":"^24.9.0","jest-junit":"^8.0.0","lint-staged":"^9.4.2","npm-check-updates":"^3.1.24","rimraf":"^3.0.0","ts-jest":"^24.1.0","tslint":"^5.20.0","tslint-config-airbnb":"^5.11.2","tslint-eslint-rules":"^5.4.0","typescript":"^3.6.4"},"engines":{"node":">10"},"dependencies":{"chalk":"^2.4.2","debug":"^4.1.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test:unit"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"gitHead":"60543b161978ea1b2d65f57ed243a99a22676b21","_id":"cloudfront-ip-ranges@0.1.1","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-vFCOntx37gRNmHwMv6eblyzvZmXut1quDoMp7H0Q/8sCxmBR+K9Wm0S0F3rUQGr9SD2IqywmssYA21E6TG2aHg==","shasum":"70a6ce323d44ea354643db98ffac643ae204d51f","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-0.1.1.tgz","fileCount":16,"unpackedSize":150864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSqRiCRA9TVsSAnZWagAAABMP/RcrRw9WMVkurL2p65yy\n6yKhBqhTH2ndCkc+obxLOvBj9kMF+6cHo5eu9ileRuy0RhSjKyjE2M+cHpM9\nqwnXskKAMs3QPezgyYqIVtMTnNkuXRNep10s2X3Hq6g9iwgHnECpn3I8Q24h\n3PkAMoiX+0NecsNrebPX9zs7glnHz2FZbSa1GjR1RsBFiUJLj2LoI7gLpbSB\no/0YTitNSrKE1LRrFB7f09BQs1wbbFBkyfdE0rhmjzzo/M2NxJspPT7Fq4Jm\ng4VSP+Z0Hgk+7dJG7mI01tPaM35hHGdXlbVSvr14z4b05PYSFPEpQ53DQNfK\nDCXkR6TkrBk+i8yUuSOczOeVUdJdK3hbZbprTPkap69rfofE5gKUpDs6c/yZ\nzxlg+YbQB9/3eEx7+R3hVAzmGcJzukn0w/aos3KG1rt/EOO8uPNZ+hX+84fu\n0gx1r2AbF9X5Y8dIkbSBW5Q5oazElNy36j1frAq18lNTlb+XS3tScq2ZNw08\nPLp/9OD4S7wWO2jpRvm4TSV86WupnTK3J5ntgLADd/l+CZlFLkNHi6iVKsqe\n+nqxdJ8vquOcpxOp4b0O1NwOBvfVwyuvz+PgQq681XTzS8/40TlExEVB5ngX\n0fJp0WXDljGzPf0GGsdjWtUYAf2oSS94tQreuxyTSJaynoly8nHpaqtyg4mO\nEuhc\r\n=iLzc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtakChwjHCkiYwKuO44MUtC6Y0Dta3LOG4ns47YP6j1AiAJPc6D1T5NQ5F/HHtO55yDbi1wfVnK+vwtS2pe1S/wiA=="}]},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_0.1.1_1581950049890_0.5405551224970484"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped, please use 1.0.2 or 2.x"},"0.1.2":{"name":"cloudfront-ip-ranges","version":"0.1.2","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","deps":"ncu","deps:update":"npm run deps -- -u","postdeps":"npm audit","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","start":"node dist/index.js","test":"npm run test:unit","pretest:unit":"jest --clearCache","test:unit":"jest --verbose --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"4.17.1","@types/jest":"24.0.18","@types/node":"12.7.12","@types/rimraf":"2.0.2","husky":"3.0.8","jest":"24.9.0","jest-coverage-badges":"1.1.2","jest-each":"24.9.0","jest-junit":"8.0.0","lint-staged":"9.4.2","npm-check-updates":"3.1.24","rimraf":"3.0.0","ts-jest":"24.1.0","tslint":"5.20.0","tslint-config-airbnb":"5.11.2","tslint-eslint-rules":"5.4.0","typescript":"3.6.4","semantic-release":"17.0.7"},"engines":{"node":">10"},"dependencies":{"chalk":"^4.0.0","debug":"^4.1.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test:unit"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"gitHead":"1d7b6ccf7fed537f850fd45bec97841d7f560a74","_id":"cloudfront-ip-ranges@0.1.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Ag5IQEdKAjonkkyQZWxFPb2otFgZxrHBOKQ29w3yfK6q7mMGJFPLtXSpvDKoW+4KOLViMxl1+hsMZxG5zC6z1g==","shasum":"a0e14457d7572431a7415f57c3f874cd87db421b","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-0.1.2.tgz","fileCount":18,"unpackedSize":151408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerSDfCRA9TVsSAnZWagAALRIP/ift7h1kECVyxWB71EwZ\nq64R6xdok4ADT16XV6WUDnJuCN8TDlSStszrP94vosFXbiKtgJCEoOgvP7TI\nUoSJVXdtMkT0x0FlzUPnMt0VgI7KygPJKEMxKmnScfKS4FnO0NuCymRDP410\nS72/0z5ybnvFgs31jwUaJs4NzirqJP0mjiOTyTRlUEjEXmWSeFwyY9hdihvx\n6hEJmxpvlHugj+WdjYBa+78sRjX1zYTU81RkCjbvUq52a1883rNKkVS2+TSF\nFlfBB1QwXOybytaSweyubbkOiwjB1nmDsQFW95+PMysZjcpRyBG0akQNBMqs\nosEIFY2Oh4wbDsdPw8uYrw6voarq+LAYzruIaDjN3++weOzxsmpxqGWvMJpI\nFlzPuJaOg+OVd09M+owR6xuZaqCJBmy2cPmpVJBqaQqdYHO7i7+c8/oGvx1f\nuaZ0I+SOecdS1E/mop82UcWnk5ZhuZugv870a/9GjxAJFuPLqDvMd9V4efgH\nDLPrsMWKeVx+E4IVMkvrwrqu6evSvJPXyeh8kG6YpVSkQqRM9zSy94Ye2VuY\nPZb/XfLUgsrZqCnNalyaC6Ckh9epzJ5OrfKFM8N2GYGRWyXxLYBn1Q4n/q8b\n+PsTOhCsfvbwvUWRLYzymRjjbQQD1HMpgUGLti9cOfwyLvIdhYcGdQ81cB/A\nUp91\r\n=u4DG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiByKzD76cFP+YrhijltYlM+BN3ofnltnvEaOgnjKDbwIgMvZ/eE5XSXERyUf+E/03sEdbKrkDL0gA8V756PdxqrA="}]},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_0.1.2_1588404446592_0.49630691692154216"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped, please use 1.0.2 or 2.x"},"1.0.0":{"name":"cloudfront-ip-ranges","version":"1.0.0","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","deps":"ncu","deps:update":"npm run deps -- -u","postdeps":"npm audit","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","start":"node dist/index.js","test":"npm run test:unit","pretest:unit":"jest --clearCache","test:unit":"jest --verbose --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"4.17.8","@types/jest":"26.0.13","@types/node":"12.12.55","@types/rimraf":"3.0.0","husky":"4.3.0","jest":"26.4.2","jest-coverage-badges":"1.1.2","jest-each":"26.4.2","jest-junit":"11.1.0","lint-staged":"10.3.0","npm-check-updates":"8.1.1","rimraf":"3.0.2","ts-jest":"26.3.0","tslint":"6.1.3","tslint-config-airbnb":"5.11.2","tslint-eslint-rules":"5.4.0","typescript":"4.0.2","semantic-release":"17.1.1"},"engines":{"node":">10"},"dependencies":{"chalk":"^4.0.0","debug":"^4.1.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test:unit"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"gitHead":"e9c9c6759b0032d7700f928119b267017734bd38","_id":"cloudfront-ip-ranges@1.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mUlqDx+9YOTqcnENVz8cQoy0lyT2SUmxNwZWRpVhwyjEbZuqa2/hMpuhePkElwXHmQbZe3eQGhrT4DTwtOmfNg==","shasum":"4a044c0fc1dc90958b4b021ce5f7b0efe3430576","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-1.0.0.tgz","fileCount":18,"unpackedSize":151403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVpzfCRA9TVsSAnZWagAAH5sP/Au2oltPzdRpO7Qd8gU9\nUw/nUBgwTpY5zgPGoA9R1T1MmIqQSA2z/2kaqIDl6jcvJTpVQWocVXdvQipl\nD6/TuB6/LLHb1tr1ldBh+HkpmuH8U443Z6wL83A0mS57CvU0QEzI8t6mf3ul\nJeckMtCgjPM9JpYQfJjB1VT8aMriwUfeRwJCkCIySt7vQu2fdMvO0oE9BtlY\nV4v0dZC/qmPCJXkK0//HD9wAOcQ+blmzqzODMf1+SFJom7nfZG//XfQCzfgp\n0gun7Kp2t+I7U/HnXauQyUR54g10a5FHjLK4jcNVV1BrUFSD95qZEa6l4eco\nv0N+tW3uqUTuG+cwXujRapPGqrGC/S7WVDHWehLm21RN0xciWuqo/NDeEXVa\nIP9Fjj8BGB6fvCMcN0n/mvn9i90uLMgGUKdwwDcI3ohe4njcO8SDI2H4Ap4c\nQt2eCMDfknD+CcASEWOLdU1V671JmJn5FIfFpCUeJUogVOeZeKcArEZ5saVI\nCbHGRv0gnwkNs52tKRrHxnY+xe6fYQqWqv5CbNk/xxBeI2bzncwHo1PhKlfY\nNG2No+KpGi5Ra0+U2Sr2xDN+AjrQGz7WHr4pOYItc8CgFQt8rIxrnxIb4350\n8Os3jtmrTohxCiMh5kJ/uTfv23+KG6V3U/vHFjCTl3k/JnPe+pz1nu4qrt2R\nSzz8\r\n=VXHG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpn6zxlSx1mMmQNwVS9Q2otFiTDsj68waY2atBYQW71AIgMEUvr2uhV3O+8oAQlYzwE304ykzfqXlRTf71Q0zP6b0="}]},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_1.0.0_1599511774475_0.9424725738206716"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped, please use 1.0.2 or 2.x"},"1.0.1":{"name":"cloudfront-ip-ranges","version":"1.0.1","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","prepare":"npm run build","pretest":"jest --clearCache","test":"jest --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"4.17.8","@types/jest":"26.0.13","@types/node":"12.12.58","@types/rimraf":"3.0.0","husky":"4.3.0","jest":"26.4.2","jest-coverage-badges":"1.1.2","jest-each":"26.4.2","jest-junit":"11.1.0","lint-staged":"10.3.0","rimraf":"3.0.2","ts-jest":"26.3.0","tslint":"6.1.3","tslint-config-airbnb":"5.11.2","tslint-eslint-rules":"5.4.0","typescript":"4.0.2","semantic-release":"17.1.1"},"engines":{"node":">10"},"dependencies":{"chalk":"^4.0.0","debug":"^4.1.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"readme":"# Cloudfront IP ranges\n\n[![npm](https://img.shields.io/npm/v/cloudfront-ip-ranges.svg?style=flat-square)](https://www.npmjs.com/package/cloudfront-ip-ranges)\n![npm](https://img.shields.io/npm/dm/cloudfront-ip-ranges.svg?style=flat-square)\n![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/cloudfront-ip-ranges.svg?style=flat-square)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nGet Cloudfront IPs for use in trust proxy configurations.\n\nThis package will be updated if Cloudfront ever decides to change the endpoints for retrieving current IPs. We will most likely never see a breaking change for this package.\n\n<br>\n<p align=\"center\">\n  <img width=\"460\" src=\"https://github.com/nhammond101/cloudfront-ip-ranges/raw/master/README-image.png?raw=true\">\n</p>\n\n## Install\n\nRequires node `8` or newer.\n\n    npm install --save cloudfront-ip-ranges\n\n## Usage\n\nFor use in an Express environment please see [Express documentation on trust proxies](https://expressjs.com/en/guide/behind-proxies.html).\n\nIt is recommended to use `setInterval` for updating the IP list periodically.\n\n#### Directly update trust proxies for an Express app\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n\n    cfIPranges.updateTrustProxy(app)\n    \n    setInterval(() => {\n      cfIPranges.updateTrustProxy(app)\n    }, 1000*60*60*12)\n\n#### Getting a list of IPs and updating trust proxies manually\n\nUseful if you need to list other proxies alongside the Cloudfront ones.\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n    \n    cfIPranges.updateIPs()\n      .then((ips) => {\n        app.set('trust proxy', ['loopback', ...ips])\n      })\n\n## API\n\nMethod | Info\n------------ | -------------\ngetIpRange | By default returns `Promise<string[]>`.\nupdateTrustProxy | Takes an Express app instance as an argument. Returns `Promise<void>`.\n\n## Changelog\n\nVersion | Release notes\n------------ | -------------\n0.1.2 | Dependency updates\n0.1.1 | Added local IP to trust proxy\n0.1.0 | Initial release.\n","readmeFilename":"README.md","gitHead":"0290dec179522618e880d579b1f373da924038a4","_id":"cloudfront-ip-ranges@1.0.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-OkvjOt0eqfpoeCN/e6blHBPUgf/IOmuOGltWj6PkIKaweZ18TMaRpi8xGSJHJDg7po2YNA/aI6sK3tLhKTiZyQ==","shasum":"eb18e30fc63cfec834ac2366d5c9c06bd3191a9d","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-1.0.1.tgz","fileCount":13,"unpackedSize":469778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXpt8CRA9TVsSAnZWagAAWW0P/Rs0shimFLkkXgonKaOo\nSgY3VR9uhKwV9oM5VwnF0Z/90r6yj1xAAiDkqeuhy6T++fmOryOjwwCfPG1H\nvrr4GhUpwMUk076rJuXox9TXHd83gy/7TVC8BltzNuIRCaBNxSnbx9U3fqGY\noNyOIt8rL77/seAt+JoFIwAeN/RSufDu0lJevX9VzW7rwrTEE05Fg7X+CcAX\nsqkSKxgYUtMMdxh7Ed11qvWJQFVH0cZCyQbQmCmXioFGc7GoKTvMsrDh+OAZ\npJsXWuvaCnjUWBUbtqdm4M05CJI5UEaZAalk9GK0pooa0ick5slob2ZKM5pw\nl33WkTuWw4+HZs2C8vY+pJ08e/BtHQfi4UAj+BbLIQ63DxNDhtEy5HrRUH4d\ncl3dRLpVndrvvZBYnlM8Q5qT+/VfEwik9jjlOrr5hugoNVsV0uJlOcav98zK\nIE32fCcQRn+NE/WPgsPg+xnJ/jdM9BQ93qd8WisVPq370QMMJFliMiP5Y4vD\nC5pIkyCLubG8HdT3Kqq4ZsPmvxHBycP3k2k+s4xTgnWseaVMrDZHdRK8h4CR\nr13Ilp39mP9Ijvt/BLKWE+fyLLewo5qnBFF1UlyQYjcMWuC9/S+ItBI3IGHl\nHDOs/tnFP3Hfx75kfnOKh4RiwXUMMu4SiUimLKKtmsmorofOmg/sO3He8SSB\nivbJ\r\n=ur1m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa0NoKLhcNikws/fizgrj9SRTmK3EEHdmwYejBUNs0DAIgYhwHXMz7nzTlYx6GHbf39EWQKWiJLaPdN6yWFgd9K6s="}]},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_1.0.1_1600035707806_0.42757267924987885"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped"},"1.1.0":{"name":"cloudfront-ip-ranges","version":"1.1.0","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","prepare":"npm run build","pretest":"jest --clearCache","test":"jest --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"4.17.11","@types/jest":"26.0.20","@types/node":"12.19.16","@types/rimraf":"3.0.0","husky":"4.3.8","jest":"26.6.3","jest-each":"26.6.2","jest-junit":"12.0.0","lint-staged":"10.5.4","rimraf":"3.0.2","semantic-release":"17.4.1","ts-jest":"26.5.3","tslint":"6.1.3","tslint-config-airbnb":"5.11.2","tslint-eslint-rules":"5.4.0","typescript":"4.2.3"},"engines":{"node":">10"},"dependencies":{"chalk":"4.1.0","debug":"4.3.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"readme":"# Cloudfront IP ranges\n\n[![npm](https://img.shields.io/npm/v/cloudfront-ip-ranges.svg?style=flat-square)](https://www.npmjs.com/package/cloudfront-ip-ranges)\n![npm](https://img.shields.io/npm/dm/cloudfront-ip-ranges.svg?style=flat-square)\n![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/cloudfront-ip-ranges.svg?style=flat-square)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nGet Cloudfront IPs for use in trust proxy configurations.\n\nThis package will be updated if Cloudfront ever decides to change the endpoints for retrieving current IPs. We will most likely never see a breaking change for this package.\n\n<br>\n<p align=\"center\">\n  <img width=\"460\" src=\"https://github.com/nhammond101/cloudfront-ip-ranges/raw/master/README-image.png?raw=true\">\n</p>\n\n## Install\n\nRequires node `8` or newer.\n\n    npm install --save cloudfront-ip-ranges\n\n## Usage\n\nFor use in an Express environment please see [Express documentation on trust proxies](https://expressjs.com/en/guide/behind-proxies.html).\n\nIt is recommended to use `setInterval` for updating the IP list periodically.\n\n#### Directly update trust proxies for an Express app\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n\n    cfIPranges.updateTrustProxy(app)\n    \n    setInterval(() => {\n      cfIPranges.updateTrustProxy(app)\n    }, 1000*60*60*12)\n\n#### Getting a list of IPs and updating trust proxies manually\n\nUseful if you need to list other proxies alongside the Cloudfront ones.\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n    \n    cfIPranges.updateIPs()\n      .then((ips) => {\n        app.set('trust proxy', ['loopback', ...ips])\n      })\n\n## API\n\nMethod | Info\n------------ | -------------\ngetIpRange | By default returns `Promise<string[]>`.\nupdateTrustProxy | Takes an Express app instance as an argument. Returns `Promise<void>`.\n\n## Changelog\n\nVersion | Release notes\n------------ | -------------\n0.1.2 | Dependency updates\n0.1.1 | Added local IP to trust proxy\n0.1.0 | Initial release.\n","readmeFilename":"README.md","gitHead":"b4b78a84e4ec809ecf9956e86ddae5bedd29a830","_id":"cloudfront-ip-ranges@1.1.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-AKpOXdGpc0gC8NkqiXIrgwTrNjolq+kNR90/GJJtZl+wplhbje6wTI2rboWO7wk1Yqw8L8PMVJ/T9Rd74ySRBw==","shasum":"be2bdcf14ef9d7eb230fcf58cf21e6f20798c060","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-1.1.0.tgz","fileCount":13,"unpackedSize":478908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ9cKCRA9TVsSAnZWagAAI8IQAJpB2t0g4HBZsWpU1tA7\nAeJ0lC4iaeK0CfmaucBN4U9W8zQ/c7MUrYF6Xg6T6Clnt8ZpwCky9MSXsk1M\ntJrhll8mkRraJYnaDwF9WxCANpnfEra0OPs5K1HWmkJ3zsWVs78Joy9iEHsw\n+4lh88Ie/3yDG7qUD+tpyg354t5DCxYd80IFDHYZC17UvcYRTBSUOkrbZHYz\nwyNh7E9loulNNeOGX056eI41N9Piwru5BEE3d3MTwP1//2DYnfHzaJLGPfmE\nIaGGyYA4msxlauB5wUJU+0u/SukjsF2iZjLjRIe9MlMrB9euGE68kk+/RYbG\n6K2jvpAcPTYVA6g/qFqpPH+dgKSHFbSLSV4bkxBx5tgySxrp06SiePC/cwUB\noJ6EQXM8Ob7I28OlYGKic6AWUXTeoesY/eAEn4F+oRHyW0tpw3TURLPXvriT\n7lyRW52pQNuDakV1AIH4g5CxT/IdOXUBizITKU7s4pjYAB8TNdN3wPY0pOF/\nHRTZ2q691HCrcK4QLDZ3ks/QQ6eOA1wdy1+e67pxuLTLXJ0TMc5TjNzNfP0B\n4wL8RYmc8/PeW9aB6ndTnIuXFiqP1/DdfYIpHeTnJF/+jTQZa7x4HooctaWd\nXIQZMYNBy+vpDjJpxI4oN5IGfE7nOPRUSED+tBgbONoyhsAn4ObtkiA303T2\nPH2O\r\n=Z2+y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC40u86F+lvOVh+1f/miKOP4V98Kpii8TsqIuEDz86lcQIgc8+vjQZkvTrVNZ9YLEW+6pcTCRlnGuuhQVuiJoGQbKE="}]},"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_1.1.0_1615058697595_0.23184698361218392"},"_hasShrinkwrap":false,"deprecated":"Node 8 support dropped, please use 1.0.2 or 2.x"},"2.0.0":{"name":"cloudfront-ip-ranges","version":"2.0.0","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","format":"prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ./.prettierignore","lint":"eslint -c .eslintrc.js .","prepare":"npm run build","pretest":"jest --clearCache","test":"jest --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+ssh://git@github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/jest":"26.0.22","@types/node":"12.20.7","@typescript-eslint/eslint-plugin":"4.20.0","@typescript-eslint/parser":"4.20.0","eslint":"7.21.0","eslint-config-waracle":"2.0.0","eslint-import-resolver-typescript":"2.4.0","eslint-plugin-jest":"24.1.9","husky":"4.3.8","jest":"26.6.3","jest-each":"26.6.2","jest-junit":"12.0.0","prettier":"2.2.1","rimraf":"3.0.2","semantic-release":"17.4.2","ts-jest":"26.5.4","typescript":"4.2.3"},"engines":{"node":">10"},"dependencies":{"chalk":"4.1.0","debug":"4.3.1","@types/express":"4.17.11","express":"4.17.1"},"optionalDependencies":{"@types/express":"4.17.11","express":"4.17.1"},"readme":"# Cloudfront IP ranges\n\n[![npm](https://img.shields.io/npm/v/cloudfront-ip-ranges.svg?style=flat-square)](https://www.npmjs.com/package/cloudfront-ip-ranges)\n![npm](https://img.shields.io/npm/dm/cloudfront-ip-ranges.svg?style=flat-square)\n![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/cloudfront-ip-ranges.svg?style=flat-square)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nGet Cloudfront IPs for use in trust proxy configurations.\n\nThis package will be updated if Cloudfront ever decides to change the endpoints for retrieving current IPs. We will most likely never see a breaking change for this package.\n\n_V2 drops support for Node v8_\n\n<br>\n<p align=\"center\">\n  <img width=\"460\" src=\"https://github.com/nhammond101/cloudfront-ip-ranges/raw/main/README-image.png?raw=true\">\n</p>\n\n## Install\n\nRequires node `10` or newer, but only [LTS](https://nodejs.org/en/about/releases/) are officially supported .\n\n```shell\nnpm install --save cloudfront-ip-ranges\n```\n\n## Usage\n\nFor use in an Express environment please see [Express documentation on trust proxies](https://expressjs.com/en/guide/behind-proxies.html).\n\nIt is recommended to use `setInterval` for updating the IP list periodically.\n\n### Directly update trust proxies for an Express app\n\n```javascript\nconst cfIPranges = require('cloudfront-ip-ranges');\n\ncfIPranges.updateTrustProxy(app);\n\nsetInterval(() => {\n  cfIPranges.updateTrustProxy(app);\n}, 1000 * 60 * 60 * 12);\n```\n\n### Getting a list of IPs and updating trust proxies manually\n\nUseful if you need to list other proxies alongside the Cloudfront ones.\n\n```javascript\nconst cfIPranges = require('cloudfront-ip-ranges');\n\ncfIPranges.updateIPs().then(ips => {\n  app.set('trust proxy', ['loopback', ...ips]);\n});\n```\n\n### ES6\n\nYou can import the module like so:\n\n```javascript\nimport {CloudfrontService} from \"cloudfront-ip-ranges\";\n\nnew CloudfrontService().getIpRange().then( (ips)=> ...);\n```\n\n## API\n\n| Method           | Info                                                                   |\n| ---------------- | ---------------------------------------------------------------------- |\n| getIpRange       | By default returns `Promise<string[]>`.                                |\n| updateTrustProxy | Takes an Express app instance as an argument. Returns `Promise<void>`. |\n\n## Changelog\n\nsee [CHANGELOG.md](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"bc285c85c5148daf4e82995f18c31ed011a217e7","_id":"cloudfront-ip-ranges@2.0.0","_nodeVersion":"12.22.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-MPk3xwCIbdJvnM53vDybE29OW4VaXPKrfA9cLBuQC5nnXXwItBYWO7a6xADmiinS9bLtEgXWnjsWl2Iic5rylA==","shasum":"e1a8310736422863a858f94d435d8a1969df269d","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-2.0.0.tgz","fileCount":13,"unpackedSize":480497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcwOjCRA9TVsSAnZWagAA+jgP/017WiSUi1vUcziTv83y\nPIAgo8RvzIXVKcxTygT9H4UP9qFC2BAH2zWk2WpjrW4YyfpyIHCLVbMpko6v\nI/vqTAogreo66z4YCNAKgYnmUWQE9w7z7Iwnj3uDg0b5MH+ed33mXNaB0XX/\nLxW3kHq31WYwa+qMREarLVNctwCDbotTEHRznj6VotrU1cBg+BEVuAsP07TU\nSJYGG9YDuarkfCS9DLEo2awoKnSiLeUUkrv4Age9b9XunDh8u4gOSfyZdKwm\niNvAMtGb3RiB7kn4TROtL9cwYOAOaOmv765d4FfjmHBgMHZkrYsQ8kcOPHJs\n8/o1CZLmpuaB6iwjh5jaBockVxp3Iov+8TtRIYon5dt0/8312MPOxHA+rgMh\n8jwsFCjt/EsJx+YAHSWhlrH0GLmO0yEF1ZYMT/7hYGHthgUHO2AGm7YopEjs\n7ViU9zCgJYUggajTBwD5+vQIT6zK7Ehe+5BOmqeW/4YOU0Vgv55cMey1nC2u\n8djOCH7ksWRQ1Q1sI6vRwYCVvfXWrf1tPqPVwnXYml2EfKCv2BDn8f8AMiDC\n/asVqtYpakDcaz8aUwj2962wAceNw8mLDJzWyku7bqyiFSZuui+FszD9wL5m\nbPpRKYuNEt44HGZtOSqbIglnaOuTZMpZ/xnEnOeV/ySatfEjKMv86qEpHVGX\ne/M7\r\n=oMbn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQVR70dR3yhVb9EYkOy2OSBCzzxT2S6kV7r9eHgjug8AiA/QhYlLDyEAc+hxXXXlkCBcEpYnNOnWEzJIuMSd4Pumg=="}]},"_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"directories":{},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_2.0.0_1618150306465_0.32313609010145616"},"_hasShrinkwrap":false},"1.0.2":{"name":"cloudfront-ip-ranges","version":"1.0.2","description":"Get Cloudfront IPs for use in trust proxy configurations","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"npm run clean","build":"tsc -d","build:watch":"npm run build -- -w","clean:all":"npm run clean && npm run clean:modules && npm run clean:tests && npm clean:coverage","clean:coverage":"rimraf coverage","clean:modules":"rimraf node_modules && rimraf dist/node_modules","clean:tests":"rimraf test-reports","clean":"rimraf dist","postdeps:update":"npm install","lint":"tslint -c tslint.json","lint:all":"npm run lint -- 'src/**/*.ts'","lint:staged":"lint-staged","prepare":"npm run build","pretest":"jest --clearCache","test":"jest --coverage","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"author":{"name":"Nick Hammond"},"license":"MIT","bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","devDependencies":{"@types/debug":"4.1.5","@types/express":"4.17.11","@types/jest":"26.0.22","@types/node":"12.20.7","@types/rimraf":"3.0.0","husky":"4.3.8","jest":"26.6.3","jest-each":"26.6.2","jest-junit":"12.0.0","lint-staged":"10.5.4","rimraf":"3.0.2","semantic-release":"17.4.2","ts-jest":"26.5.4","tslint":"6.1.3","tslint-config-airbnb":"5.11.2","tslint-eslint-rules":"5.4.0","typescript":"4.2.4"},"engines":{"node":">10"},"dependencies":{"chalk":"4.1.0","debug":"4.3.1"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm run test"}},"lint-staged":{"*ts":["npm run lint -- --fix --","git add"]},"gitHead":"d3fde45cd378ec8c69f08d4bb66917d32bdbb4f7","_id":"cloudfront-ip-ranges@1.0.2","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","_npmUser":{"name":"nhammond101","email":"nick@happypengu.in"},"dist":{"integrity":"sha512-r4JaD90dLk+nSM5loS/oZImIbvjZEluWhny/GN/Hl3IaeIhdUXeC2T2BPnuNX4AtrTLPQPqn5Ix0qVdTC0d3Vg==","shasum":"abe4d4845b90bc3d574355fd98f154a198f269bf","tarball":"https://registry.npmjs.org/cloudfront-ip-ranges/-/cloudfront-ip-ranges-1.0.2.tgz","fileCount":13,"unpackedSize":474766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcwz9CRA9TVsSAnZWagAAzSYP/0M7O9PzkWCOQCltRF19\naTHDGS3JFvwhmctbGHUBCT/BA8cWzbs2Z8roYy/5iCE+KvIqd7G27GTd8XHi\nB7/A4gmhuoV14s44pwb+WuE0z+XfYcTtfgiuqi/3dpszcF7aHxVj9yhkbVKT\ngKyUx0+ZocGpmA0RGPR3J/abQIOcvjmNwS0bYBJUn6kSa6ahQTb9DkreIJUr\nWc81D20H/QzOPoKm2ZPv8vKaJbaaZGUCStmrihHIrWqgslMPS+/z/dEHyq4C\nwRprtnDnC+pG0c9yJPZMA+/pSPU8j2n8gxTCtsXEE4Hcw23wE27PBqhz0VXy\nvSI5NkUMvRjLXIYyXOHxuSMoOhQ3PemCbsO3caM8C58fQWG3kY8gdvUkIfTq\nmJP5MaBpdy9z2TNHmkfr8HsOpgP8cwara+NvNUUat7zWIa+8OMaA6DUpwa9Q\n3HwDgy3Bt5QVBKxk/t5nOVgQ5j4ALCliA/HC0OE7hoe5Xy3i1p1kOnNIhnM/\nnkXMHdeuHh/qwRdgaD3Uz6Y1tbbScIe85DrnxjWEM4ut8/BNZbv/255Ef7R8\nW0CxRRW8bMeA+HM1zs9e0LQocPXIvgm1N1cFWCayv65Q/IoB9Z6S13nbOsJ4\nWhX3MndflD8zbnl0vpXr1mC6tqEPdqgc0ineY0m80o0PmEuRuUP7GDF6J1b9\nAB+9\r\n=IVrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYRgsvqX4KOK/sDCZvYLS9lPZnsjgnYQY48827PreluAIhAOvk7zp0fzpKlXw3rfoFA4IN6mH39JN3SizU+RXNggVS"}]},"directories":{},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cloudfront-ip-ranges_1.0.2_1618152700608_0.7792433236174092"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-11T22:44:21.249Z","0.1.0":"2019-10-11T22:44:21.448Z","modified":"2022-04-12T06:49:27.797Z","0.1.1":"2020-02-17T14:34:10.014Z","0.1.2":"2020-05-02T07:27:26.720Z","1.0.0":"2020-09-07T20:49:34.660Z","1.0.1":"2020-09-13T22:21:47.924Z","1.1.0":"2021-03-06T19:24:57.798Z","2.0.0":"2021-04-11T14:11:46.604Z","1.0.2":"2021-04-11T14:51:40.776Z"},"maintainers":[{"name":"nhammond101","email":"nick@happypengu.in"}],"description":"Get Cloudfront IPs for use in trust proxy configurations","homepage":"https://github.com/nhammond101/cloudfront-ip-ranges#readme","keywords":["cloudfront","express","trust","proxy","trust proxy","cloudfront ip","cloudfront ips"],"repository":{"type":"git","url":"git+https://github.com/nhammond101/cloudfront-ip-ranges.git"},"author":{"name":"Nick Hammond"},"bugs":{"url":"https://github.com/nhammond101/cloudfront-ip-ranges/issues"},"license":"MIT","readme":"# Cloudfront IP ranges\n\n[![npm](https://img.shields.io/npm/v/cloudfront-ip-ranges.svg?style=flat-square)](https://www.npmjs.com/package/cloudfront-ip-ranges)\n![npm](https://img.shields.io/npm/dm/cloudfront-ip-ranges.svg?style=flat-square)\n![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/cloudfront-ip-ranges.svg?style=flat-square)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nGet Cloudfront IPs for use in trust proxy configurations.\n\nThis package will be updated if Cloudfront ever decides to change the endpoints for retrieving current IPs. We will most likely never see a breaking change for this package.\n\n<br>\n<p align=\"center\">\n  <img width=\"460\" src=\"https://github.com/nhammond101/cloudfront-ip-ranges/raw/master/README-image.png?raw=true\">\n</p>\n\n## Install\n\nRequires node `8` or newer.\n\n    npm install --save cloudfront-ip-ranges\n\n## Usage\n\nFor use in an Express environment please see [Express documentation on trust proxies](https://expressjs.com/en/guide/behind-proxies.html).\n\nIt is recommended to use `setInterval` for updating the IP list periodically.\n\n#### Directly update trust proxies for an Express app\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n\n    cfIPranges.updateTrustProxy(app)\n    \n    setInterval(() => {\n      cfIPranges.updateTrustProxy(app)\n    }, 1000*60*60*12)\n\n#### Getting a list of IPs and updating trust proxies manually\n\nUseful if you need to list other proxies alongside the Cloudfront ones.\n\n    const cfIPranges = require('cloudfront-ip-ranges')\n    \n    cfIPranges.updateIPs()\n      .then((ips) => {\n        app.set('trust proxy', ['loopback', ...ips])\n      })\n\n## API\n\nMethod | Info\n------------ | -------------\ngetIpRange | By default returns `Promise<string[]>`.\nupdateTrustProxy | Takes an Express app instance as an argument. Returns `Promise<void>`.\n\n## Changelog\n\nVersion | Release notes\n------------ | -------------\n0.1.2 | Dependency updates\n0.1.1 | Added local IP to trust proxy\n0.1.0 | Initial release.\n","readmeFilename":"README.md"}