{"_id":"shrink-ray-current","_rev":"14-65b8512fda6c69852d096ab023dd98e0","name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","dist-tags":{"latest":"4.1.3"},"versions":{"1.0.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"1.0.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"homepage":"https://github.com/Alorel/shrink-ray","bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"accepts":"^1.3.4","bytes":"^3.0.0","compressible":"^2.0.12","debug":"^3.1.0","iltorb":"^2.0.2","lru-cache":"^4.1.1","multipipe":"^1.0.2","node-zopfli":"^2.0.2","on-headers":"^1.0.1","stream-buffers":"^3.0.1","vary":"^1.1.2"},"devDependencies":{"coveralls":"^3.0.0","expect":"^21.2.1","greenkeeper-lockfile":"^1.12.0","mocha":"^4.0.1","nyc":"^11.3.0","snyk":"^1.49.3","supertest":"^3.0.0"},"engines":{"node":">=4.8"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","prepare":"snyk protect","snyk:wizard":"snyk wizard --dev","version-readme":"node ./prepublish.js"},"snyk":true,"gitHead":"024ccb3bd2b0ba067cb49fc4cc7361f275711280","_id":"shrink-ray-current@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-DnA3LdYQ3UJhyVyyKpqy+AFNIpcbE/MVAyIJ+XPfnktPOewp5e2GVj+if2ZKpnaa/oQZiPL36IG9NoofxM7+9w==","shasum":"54f4da93f18b251c7d90bffcf1593a769ceacf35","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTHX4yZzA2R/dOnyGCYjHWjTkhV0b/MyuuzziskjxHLQIhAIXRk2TLz+/xFrQNuDgW2nanMR2QWv0+NyepxdvW5qUn"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current-1.0.0.tgz_1511062024508_0.044669988099485636"},"directories":{}},"2.0.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"2.0.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"homepage":"https://github.com/Alorel/shrink-ray","bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"accepts":"^1.3.4","bytes":"^3.0.0","compressible":"^2.0.12","debug":"^3.1.0","iltorb":"^2.0.2","lru-cache":"^4.1.1","multipipe":"^2.0.1","node-zopfli":"^2.0.2","on-headers":"^1.0.1","stream-buffers":"^3.0.1","vary":"^1.1.2"},"devDependencies":{"coveralls":"^3.0.0","expect":"^21.2.1","greenkeeper-lockfile":"^1.12.0","mocha":"^4.0.1","nyc":"^11.3.0","snyk":"^1.49.3","supertest":"^3.0.0"},"engines":{"node":">=6.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","prepare":"snyk protect","snyk:wizard":"snyk wizard --dev","version-readme":"node ./prepublish.js"},"snyk":true,"gitHead":"e4c6e851448c6d5b0dc21c4a9b5b4441595c225a","_id":"shrink-ray-current@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-cDb9hlT+ciPVAz8PhNL+k/MTWbVR2+1v/XL0noS1tbc+ppU0NgGIpokoxbGF/l3XT59NbiuQxD78Kr5txV/S5g==","shasum":"0aa191b2801fbdd61c66b13b016445fa10b85b0d","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdsHEUSajl/pTJM2YZkwg5UAcZ/+vOYUpQawOM0G31jAiB86m5t7kmt5pHnE9M5XPpPnrp1/LU/CDtNxNk1F/rUjg=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current-2.0.0.tgz_1511180074365_0.5468065110035241"},"directories":{}},"2.1.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"2.1.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"homepage":"https://github.com/Alorel/shrink-ray","bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^3.1.0","iltorb":"^2.0.0","lru-cache":"^4.0.0","multipipe":"^2.0.0","node-zopfli":"^2.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^22.0.0","mocha":"^5.0.0","nyc":"^11.3.0","supertest":"^3.0.0"},"engines":{"node":">=6.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"c3255d6ae186cbafc421ed34df336ec1e21cbf27","_id":"shrink-ray-current@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-qV8x/qntuog/5W9qVvWxzRVKtXOrP9zAQ7IC+I+1Gon8gMF0T1cL6Khr4O60bdp+DSnCwQjOHypLUbIYcWFs3g==","shasum":"0c0cc7b53c827a8d91f57717cb15bb88b95a0c90","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhdS1v6QF4KSYthmJfbG8R1h/z/7Sfjh6HbJtAqz+NVAiAmWux4GEFhd+Cn11gdm1L5Zxk4VdZvYk0BEcC0p1qmaA=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current-2.1.0.tgz_1516309215956_0.5118728715460747"},"directories":{}},"2.1.1":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"2.1.1","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^3.1.0","iltorb":"^2.0.0","lru-cache":"^4.0.0","multipipe":"^2.0.0","node-zopfli":"^2.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^23.0.0","mocha":"^5.0.0","nyc":"^12.0.1","supertest":"^3.0.0"},"engines":{"node":">=6.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"15546e4dce06b0547600f390cc423c68add97f77","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@2.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-XatR490PcBKGhs11yMVGRGUoppOSyF/pD5G6rxZqRznvTT2i2iAsitIoZc4HFfCqoGedqGXlScnuekQaV7OHHA==","shasum":"b71e2472dcc6a07f00c53eb43c08c11bbfeb7206","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-2.1.1.tgz","fileCount":6,"unpackedSize":31155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLLlyCRA9TVsSAnZWagAAM18QAKUhONo/CaVozgQ94Qhw\nW+UDfTl7NQq5A0P8AMSwaxvn2Ib1YmoBCss9FZfccIDvNG1sUAvRLNVyTtzD\nc3H0Pl7floBzZZy4uvFDMpW1LkPS1vqeZi8oKXysJrtXBwztSVlzet8DPQv7\nuH0B6WPtjLCGr9DHZR+cnr5zTtcPYdIfnwSv/l32Qf2mbcM2txJdVf1Edmu8\nZena/YXBLM/SPSQVnN6CRv4IlrWC6HDwuvAOmNC8PJhw0/eVkFCn2Fz2rJof\nsnXKxCCIKd9jp6ucUsJ5fAzvTmykqB9cmxJOsePsnwTo2mssLk8inN47v8AK\nGWYzW6pMi2Cb/PSn9LrDCpLYV8joa8iVhc8LF44PIBbPWw711Pv6u/hIwtKa\nKMmm2dWFdtyXoU18avtdMvQTs2bL7ubJJFcFsf3G4e2FZjF7mW0xjQZ5phS9\nQzZEX+PEYOohvb7EzN3094DgikpBXobBe7XkbYbWDZ5RLlILNb6hJJZ/cJ3J\nv5HkZoghJjIWSRTUKvJq1Oj0Rmoow9C4S8NUFGhsyB49jKP1fyAQ39WEsg5H\nsfIeJOGxKWugtauM4FyDmJsbrAfp06qhDDKi7AlONISHMZruS45N6356Ai8s\nfSGRd9NazcxSEiDkQaHe0IktEK4upI/8X2UOijnt0kP2Ywql2t9Adyo+GGEa\nO6HS\r\n=81D7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjUuhMszkM1Ppd+cb7m0GtwxXSC+CBCyXWh2TPSsk2CwIhAMuhOkj/Mar0iBQZ4MZuk8R0UVDNy0ebFkIeUWtS4ApP"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_2.1.1_1529657714139_0.2958028428455606"},"_hasShrinkwrap":false},"2.1.2":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"2.1.2","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^3.1.0","iltorb":"^2.0.0","lru-cache":"^4.0.0","multipipe":"^2.0.0","node-zopfli-es":"^0.0.2","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^23.0.0","mocha":"^5.0.0","nyc":"^12.0.1","supertest":"^3.0.0"},"engines":{"node":">=6.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"dbdc501f07618963d289f4bbb713d1af1a3d83cf","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@2.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-e31EJpu4KweiCwkWnhQFAOOsDeh4By1tKRq6TYxPk4MwDnMwTHyZU9N9lHXl1i4s2FJ3lUPeHzY3Fg2XCv9ODA==","shasum":"307bd81d67e137331a01681928c93ca688a78829","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-2.1.2.tgz","fileCount":6,"unpackedSize":30909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbV25TCRA9TVsSAnZWagAAa4kP/0Oo+oekotgXgFpz8zPL\ngeZz1C/lBy+3f3cFQyoM1lEKTuLruSJoRMYbiDJmS6fc2ja53j1R9wkLCndR\nIWoEIVpkPncFqld9Zfh+3kovPJavo93PrpQffVH3ZFkeYzHlnZ1SH0XqrmoW\nK0XdLscWG544JFH6tZbQZkDBmONNx8bGLXTbebxA86RpW82AkGe/iAGufVoH\nRu6Z7oPduS2hEwlqbXMf3saulL+HhqdvlbVx/lOofCWQmpu9fU5q4s98Wpg9\nZjsjGUNZlZowFOCyLaVUPiFIAgOE9GE/rf2e6XiCy2mEzMvnD8SPgnphD7X6\nuzyUQH1wxl/wnhDojC6ZxobnqkTvD2J0dtEAqGdeQoi5xZWtco1Egd3cm7AC\np1L01gzyfcgLBvYvvb6RDzdX9iqUNhg0wnUCkRgSC4OJdpmp43YoDbXd5/Je\n6tmet7hh/GAXX3GjgKPwA20us8eqZ9zrf+TEnv0akFdQTtPPr5bNrylfPFou\nK5ROHhZVoQO7SRwN1NavyF7P5nUEhZQoiMNboU0bh8smJCYjdny5mD2nO6oa\ny5nCaUJlpSgj5CANkmr9YnsAOFno8cg7w/pb/PZvdccY7b8mEBb1BoURV9SH\nlPXP2fAeFExJcnnrIPLPfK3lflCHL0j180PFtB3UHok1vEs+R/H7KphRaiC1\n14Wp\r\n=0BeV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTf+21JzLP/R90pUp7p3qiLRDfkmFXupDioqho5peDQgIgLxRhACb4QgTuN5nC7QcWZRLbyhDFXWyfhSmcG0kyPQg="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_2.1.2_1532456531828_0.6616489396543688"},"_hasShrinkwrap":false},"3.0.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"3.0.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","iltorb":"^2.0.0","lru-cache":"^4.0.0","multipipe":"^2.0.0","node-zopfli-es":"^1.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^23.0.0","mocha":"^5.0.0","nyc":"^13.1.0","supertest":"^3.0.0"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"bcca67bf47cc927413f4049833e47bfded495135","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-uqXreZ9hEKJBFNag1XohtYhyiSkE6a8RGDe9QmHMh2DH8arqOpEFBsq6S/LUCYZQ4wlafyUhhva1wH5obfyPpw==","shasum":"5cbab560c7daf9d4a3ce4575fe472f89abb436b2","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-3.0.0.tgz","fileCount":6,"unpackedSize":30897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3B6sCRA9TVsSAnZWagAAojIQAJXm1wuiMPJMWcIGcw4j\n9zou8A7EBGkydrsujYUJGt9WsL8hOH7zqA51HR5GM3u7h0BxzvKjHRjUFnoT\nC+AsReAD9AggpOyV0ocVoYmFL3M6wh7YwwSoitGPuxt0rdXrilSd1FOn8uMb\n21b9LrYwXv20K1SAnNzDMv7KH1JqVPiGxwOEcrUdSUF/lAbrLtilbdnwEsCZ\nK9MtDPu2SEWc3nGDf1ejfThJW21adWyXF9LmkZejbUhed0v8BTJYIdJQGF3M\no6Hi08Dj28kFNPZZiyVVmr3N2yz87crnXtaVQ/VJl54tLITtYEwKkxb78B9d\nwgOZ0uvZeT3XSV6kdHhm6h4qfK+s2NYI1401Omckpg9yzyHnxb0fiXeJfFQ+\neoj6/3/52MaxLe45V3bb2T83ZeZJoKT6/yF5TYGR9r1yAn3OLaZAx1RnQj4s\nTUd50SQIdVUX5A9smFFccfV7yYIm/Hz7ZYSHhhMdxlZI5XQPkRqKQOWPV6Eb\nBzNh20LLKR95nOxgem1zCPZPwCoBjqb72wU2MH1I2Tiu/IhPDFKAeD7GVLuS\nhtK8FV2mWDF5AqxGmznxsFpQ9Wp7TxU/VIwWnq27UmnBtQaLNKvLnFz/WWk1\nL3XyryAuQAayfQjUlAaFVPp31p2DE6NpLRy9FYG0/jU4UHQjChicGQ5cJ2JY\nELJI\r\n=9nyG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1t1Fc0DhEMg1fpVK5LPBhwRhb/3U9cXQhtvvzAJG7UAiBc2d38ar/GrYpjftEnX3JhljWV0lgLaasGM63mMWFHNA=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_3.0.0_1541152427978_0.3406573849078336"},"_hasShrinkwrap":false},"3.0.1":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"3.0.1","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","iltorb":"^2.0.0","lru-cache":"^4.0.0","multipipe":"^2.0.0","node-zopfli-es":"^1.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^23.0.0","mocha":"^5.0.0","nyc":"^13.1.0","supertest":"^3.0.0"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"17da1220a8c3ce11a323cb82576e81cad4d62834","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-BHGNPuDgVMWB1RnPROFBCAS6c9KAsz6iS5MimKEjJnBl2sWGh5bfp6QFPhl/FQSooSuuGjwkbKlEGHFo2eLn8w==","shasum":"651243b87ecefc88453954aaf667876260448f52","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-3.0.1.tgz","fileCount":6,"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb34sRCRA9TVsSAnZWagAAh1EP/2Xs2/hDjz00wnWvJy7f\nmKPSuW6+ys75rGNHOwImPpe/BKL1lp3VS8khbp3SnNSztVewQl73HeA9HPUo\nsuttPtajDoMna055X/5+y1Iti+HYdUjAvnkao/HOfX0wCkVJyNuCGrJ/1SCD\nnb2Cm9DOASpCGBtwuUvw/8x1lkOnmXyuP4Kn8Ghf6u8ZyEKJbBlaK8U86ESL\nAc+LmG2mTLUFBBPB/K/nOQvdO/Y9Z8bnwM4vK6HEJvRUJLexLKd1bea/hAHD\nP3j7/As8j5/CniPwCq0CrPPQI2F5PFjyLmj5ePirJRdCGwEvvdVkNhwlJ0EF\n6WmKOvQAdPcsQCmqgyX+dr1b5eDLdw3Xe5I7EjCJjXOetI/6GmgCxLehNr5F\nPnAMGajgNjXxrdFEpOiSNf3Ti4M7yUaUzVsGLREaVy+vHWexqhU8EKai8mhx\nCImKGk0cWf4ovpxE2SJ4TcR18e7Iqxw3RFofA8n2vRmxBrY155E+DflAWjbr\nOCioOcsB4qt64QG4Ft6cZ5oFXW6+lSjAmPCN7m94EVJR2I36EQovCCw5B6+U\nphojGcwLgOOgnf1lsahvMXnuTRtTvDfM0omYed/jHJ4vi/OIZBbhZc/LsQH2\nepiQzmt0d1MU3jNqEzt7D7DEjBV2pbiGUiDmi7jj1LGq7ml7ARMh2v/ZNbyV\n/fm9\r\n=n8JN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHo128wykiDMXrB7J2x8GkehR7wcOWI1jNdXBqHlcX9vAiAA0+G6AYKFxkkhprLOKGg8qU21TbnKT4zZapmYOgt7TQ=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_3.0.1_1541376784145_0.22792810322950108"},"_hasShrinkwrap":false},"3.0.2":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"3.0.2","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","iltorb":"^2.0.0","lru-cache":"^5.1.1","multipipe":"^2.0.0","node-zopfli-es":"^1.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","expect":"^23.0.0","mocha":"^5.0.0","nyc":"^13.1.0","supertest":"^3.0.0"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js"},"gitHead":"f1f44d52447afb1b1e40261c06fb7053053667b3","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-n10ZSWK1dGGfqxIYKkycuDy6P5eZTvOm//oGcoXaiDXt2AvDM0NJzZUjCa0KqM3mKRP0YEYY/Wmea1ogofztdA==","shasum":"a9ba359c8a4e53eaba4a4f8f608ee0baf585d1c1","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-3.0.2.tgz","fileCount":6,"unpackedSize":30538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9SU2CRA9TVsSAnZWagAA7oEP+wbSOfPwD3EOrmx5nRs5\n5XUoxGSFXGKGkQSjQIWvgCvk+4TmBavSz5R8XLPOE7NVewPMrlPdm5BLbWH4\n7cHBojeMrvnJMwjNx9iQscErVeqpbb3gG0aEkzEYTi8SXNXzpIZgKwbdQ1wA\nNpJxxf6hEnvSCF9B18wP8iFXqWp63XjZLXDK/7ia/MXLtEc3f4lhkHUYi8nd\n9/DqoAVDS5rVSjB0NSrT8sThqdZQhHpsa83UuUTTWpG7NgRs8RmXK2mHoIQb\na+uqZq0HEFHNDUWJnY0QeG43pf8koYvMC/qg+mIsvQTT4jDYADrZaRZRxLiy\nP1aF+NfnuL9oEC28+fVy3pL3hL4hW7KFn+UwLcurBhjvImfI43ZBv3j2Fepz\nVCmWWwdYqn85TfRqM3ODqHeTqGj9ouShqT3gzmWzVhwgY/sCLQ/3tvRvNGqA\nMYuyzZ/iuokuh5Se9l1rz20nsgNK7h502v57xTBEKd/SDi15MN2mNz7ssDwc\n2Y0yfGvypW3wkkmVzxcOiUakM9JE8sgUVtIqfkd4pKvT2/kZ2Vdr4hHdduTN\nDt9K8oFw68085q5muf4ylV5CjDEUMp1pBy5IeqPqC/RJO5+N77uG7BFgb5tb\nVNwUE42z2q70pZkBB+JQtLj+b/K/9mIz0bIWfc+gFCgERQV1975oQ3W/NU9/\nUY3D\r\n=X6wk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcrV4nB1AIqV9vf9Zpt+MS3qh0/RzpvZh1n92nKulo9gIgeImQDc2p/+h8/3lXutYAtiec/uGVmrBaSOFtK3cKHp8="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_3.0.2_1542792501502_0.841501974849125"},"_hasShrinkwrap":false},"4.0.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"4.0.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","lru-cache":"^5.1.1","multipipe":"^3.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","doctoc":"^1.4.0","expect":"^24.1.0","iltorb":"^2.0.0","mocha":"^6.1.4","node-zopfli-es":"^1.0.3","nyc":"^14.0.0","proxyquire":"^2.1.0","supertest":"^4.0.0"},"peerDependencies":{"iltorb":"^2.0.0","node-zopfli-es":"^1.0.3"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","version-readme":"node ./prepublish.js","doctoc":"doctoc --github README.md"},"gitHead":"43e0fa01101c6ab03e88402f0bf9bc38730efca6","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@4.0.0","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GTX99osXDN064kkQAwAyjPxWxRfe11ydZtJ1WixUnOK0QuoV8nojmgElCCh7YLMxn8ootev2ImAwqm/Th5nNFQ==","shasum":"aafe7211d67ea177d1882eaf349b8ec61cd24b16","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-4.0.0.tgz","fileCount":8,"unpackedSize":34703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxvooCRA9TVsSAnZWagAA3IgP/0TzqK4Pi7pX8DIgwRO+\nXwI4vA3Y7rnZR02c0rQscvno/BrsXDCnvfRmjEJ2skK2X9QXTqN4YFAwPOjb\nV9G8KoSZ8hqO+LF2LKP/EBEWCxTzjTFtsDdMvEt6B7RKs/t6IqeoJgDh4ZHd\nxjJHt6mMc2If2aD3VLKOaExhWryOyrsIgphBOpe4ldlcESuP3ps6QR092lQT\nQwYUsJiPcL7BAdGnvPRdZvN/8qC2d8rfdNv7d4qKhGBksOxqQZQT6veMXlkV\ni0J88YEuoop11Nxg31I6WzvV5xvQ5o59/o8Jqd3STavc0K/q7G7AE/SYRLjD\nwxWOxKgvtkicmQByQektBhVBoZLsCLclW7TiOS1As/i/yJI6AQP41VaYvnK7\nBnamnH0E/RXx0qIwLlo2EKF4eVAOStLu6ENsQcOhziDneFbBmvPPjK2qa+Qd\n6/AL+qOgK5rXZ9pW7we9t9ilwQULWh0lqlrzFbUMuj+ks/wqO8Eg3yfhtFEI\nAY6fq7YSNwbwexe1KVvkSJNyogeCwxKQUqsTaOw0HkxZZuklsI3f8xwievnX\niE0WYMQ1GhO5w25gBh+FaKXpqyitB5Klat7ADtmDFfulIZa8J3ZSOt04C9Bx\nE2rM31faGRebyW5Niwqqu+otWWW6d2WOZNdoBkkBaLIp8eKz04xG/SSL/BaA\nLhtt\r\n=0HAX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeel9PUecueEBvLCt7AMV6hsJxuWkA86yrAy9Q0FrgcAIgUmSyaZkReh84Zji5UOnERFs99FkDqT40YPkGD8DT9gY="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_4.0.0_1556544038915_0.3114167090892299"},"_hasShrinkwrap":false},"4.1.0":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"4.1.0","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},{"name":"CodeIter","url":"https://github.com/CodeIter"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","lru-cache":"^5.1.1","multipipe":"^3.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","doctoc":"^1.4.0","expect":"^24.1.0","iltorb":"^2.0.0","mocha":"^6.1.4","node-zopfli-es":"^1.0.3","nyc":"^14.0.0","proxyquire":"^2.1.0","supertest":"^4.0.0"},"peerDependencies":{"iltorb":"^2.0.0","node-zopfli-es":"^1.0.3"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","doctoc":"doctoc --github README.md"},"gitHead":"0602838694de0688e7b06de583c7de5dc98bcb12","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@4.1.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-LuuipOOfSRwa1RLcSxTFA6tnLmqwLSJ8TQxVK9XhdQTT3mo2rtBNdYoXSpdOq125gA9nCy4JkcYt1XMA3WF+Sg==","shasum":"8fc901e9fafe70228e5e3f7cf15b67bfa1e348f0","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-4.1.0.tgz","fileCount":7,"unpackedSize":35330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdj1daCRA9TVsSAnZWagAAmm0QAIPKzS7oTJAG1D4kSjoK\nUHnpCarUpkYe/Nb4AzMJiPZNHE0zct6ps/J0TpwicI+Gl8nPjagFpYPXSzkd\nYqepKgbaCv7LNJMWYQKBuTxRUAjTihAXUGHWX29Vn08xMfjJuoVUHDyB7c0D\npZyksyoioSpjw+kDRYZFdwRDTXHfMTOOsoAhgJ1Lm0xPG0Yqfut2zTWSS6zo\neAqgzGiChzI0D0rAXgyfEvUg4dQzKO8BdTUcZN5FRw/dTmeO7i2cPsi3vy1H\nAcmUO7pSNW9STF/jyTKuPSlxZdw6aurPhjQdeHi31cFtkrrCyOYbqPHu8Xud\nbstdTyVShyiOvpb/1wu3ONIjF0YMtslvCosWVGlATPANEGq0+U0xziyxbSFm\ngX6UIyGWDHXuCwzxKTMgZ+fmBfLlSqzyeCJa9NxFQ/dSg649Vt/0eCqaI8aV\nj966SrAyj/yP+eYIUSO2e/XnZxrfx589qaW10YVT+44P8FBSkKpYvoQIjHOj\nk0ypAZwxkME5TUw0FdAsey45lvJt8IQcbRGSkXWEswuwXsqVGqRG1BQjhVe8\n4Fg2tjMfKzo6wGX+ntUWL7i/EsFMLysv9eUEX+oeVo+10ywsrfQk6KYGf1tG\n8KVeLrQA1RnlDyGl6nOSmbBaUrBT8PMDx5TK0huoloDGH4PlVIQNENpmoDIU\nKMR1\r\n=1RbG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnpg3/JVzYsoAzMBpRDcvj1zTPicZ3HieWN9mmYTJSAAIhAOt+bK61oROYGSVKThNcTXcdrkP+X3o0VyVRAmL88GL/"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_4.1.0_1569675098026_0.3825292050834552"},"_hasShrinkwrap":false},"4.1.1":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"4.1.1","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},{"name":"CodeIter","url":"https://github.com/CodeIter"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","lru-cache":"^5.1.1","multipipe":"^3.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","doctoc":"^1.4.0","expect":"^24.1.0","iltorb":"^2.0.0","mocha":"^6.1.4","node-zopfli-es":"^1.0.3","nyc":"^14.0.0","proxyquire":"^2.1.0","supertest":"^4.0.0"},"peerDependencies":{"iltorb":"^2.0.0","node-zopfli-es":"^1.0.3"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","doctoc":"doctoc --github README.md"},"gitHead":"5a2ebeb63032b90ecc69e321bd3abc6867874ba0","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@4.1.1","_nodeVersion":"12.6.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-0LNyntR2b6rhyq3HL5ydnWhToDdnXmJ1caFV9lq/E7W8zpIw8E+23hRfCRWzTbAmEYAnb9x4hixIHRROC1J1dQ==","shasum":"e644f96dfaec7e615a73d5705c5e629a6da8ac3a","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-4.1.1.tgz","fileCount":10,"unpackedSize":82596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk26lCRA9TVsSAnZWagAA0S8QAJIgC+NDEws+qmO1iHyH\nUshEAw+FuwAUaEELEiia1HjdGXvCQr6rgsd+KTYpNyfVa5/MipMuGBIdaYXp\noObycooGihK0w3d+izdBKMXSsmcfPC8kea3h8OV3CBLGorLEhreHhxHG4wsD\nLKzdWXZKEJFqkTGpzuC+3fV8y/mUiekJCQM4vn6q55pL+sZmNtaWKbA/srZ4\nnPnPxpRVa6hUqkY2pMGQACdZzkzPrqTzl/BrzUmSt69IeDgGkQALZxHBL+yW\nbZ+tWEx08TY5FQIC4J8k3zYDGIdS4ochADkCjumM09YFIxcv5uIo+6w5mwMM\nCFwfvroXVqCIXvf/kQn+9/eVZYIKfGC8BawxEueUAS3fA0DL20gQ4A7kUwhH\n40EE+uN+guLDykQv6vO8ZRTL0RuVdJggESP1XCKE4IpxcT5tuMKBkphu5z4a\ntBE1xUXNlbe8S6cdiHypo26PLcnugUgTZNujTXiYbFyPGea1NcgO+Cf+yw8E\nibQz1a9aqmHztIRA4A5grHxQYo/9810g3w8Rke5cvDRJP2qyc3DwoO/96wsd\nFifTn3xqE4+cVielUzq9xUWIcmP5R0GOyc0CPRmMpDr9vW25ATPvWTreb65z\nSuGgfWsMJQ2lg/RhaIxk2y4gUYkfATSIyxOOeCuhzzWrKkDurlS5jG2l7js3\nO6eM\r\n=+P3S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmV+4AtyRdEBi2bmvTHedMGDfAzUC/wompodlQKSJYtAiEAkuyc76TDPsby+vqKzwncOHsDHAZFToGkndg8jiUMU7E="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_4.1.1_1569943204801_0.30138218836227626"},"_hasShrinkwrap":false},"4.1.2":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"4.1.2","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},{"name":"CodeIter","url":"https://github.com/CodeIter"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":"*","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.0","debug":"^4.0.0","lru-cache":"^5.1.1","multipipe":"^3.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"coveralls":"^3.0.0","doctoc":"^1.4.0","expect":"^24.1.0","iltorb":"^2.0.0","mocha":"^6.1.4","node-zopfli-es":"^1.0.3","nyc":"^14.0.0","proxyquire":"^2.1.0","supertest":"^4.0.0"},"peerDependencies":{"iltorb":"^2.0.0","node-zopfli-es":"^1.0.3"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","test":"nyc mocha --check-leaks --bail","doctoc":"doctoc --github README.md"},"gitHead":"5f4a835996bcd317c99367c0c538476f9f3a688d","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@4.1.2","_nodeVersion":"12.6.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-S5FyQ49D3kCv9x/pGirWpr8B4so33TQnL5vlgciflC84sN/lQ5ovqlc7zPE1E6AM5iEGGN3OmqiiM/5zkM8v9Q==","shasum":"f9afafbc9466c6e70bb00dfd3ae43f3af6d45d01","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-4.1.2.tgz","fileCount":7,"unpackedSize":38223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk28JCRA9TVsSAnZWagAAueMQAJRfwLBOrDAPjJk+1f9L\nodmHOQ5aaX3XTIxDBQ7Nce3cYD73/2QyIBisdHdNIP6Ko+YrnPZvoRg9DJ96\nY2lfctfE8PON3pQ8LOda569PCC2/jbLce3qgYiN4ClUyeV4XvzIuKUdYALG6\nbYtXqIR6X0fmgZEY4s4OF7ene+lxxPDTZqeDY8d4rP4SVKsRHdu+jbUfRsTY\nrr63cVf3C8+9tx0e8L0kOPGBJ6JBNcoHk3IhNWfhc60ZvAFOQpAx2Drs4Cri\nVKykPea/S9eJgS6RNhgwckDHLtcP4xlptoxJZVHDILO3VX6dxjOS0ttoOZMn\nzHYR4l/2BCitNqSxgYnlyWQWjYYO8NALAs0EAcX7nZDRN4h8lTuszA+WtSbd\nBO+DVo5N+im3tMo1sS/oW85GqiJ3+QYodnExKUDoRzYMY4M6zSh9qdXfX7IL\nsz95+6cE/XPIFd9npnZRDL5xGMhY0Vk96q981ihNyiRJZDOIZ8P2j7qc28t4\n19tp1wejylZMtEd/DDv2oG88tZbXW4ddvoEdGQE9sZU+q2JPeqaGWEcCa5Rl\nOnLEVJ8JCgeXHu4/tfptpvuBiPVhOZifyYq2AhMzoYqDM6PdQCz25rwkafaG\nP/WkcfjPZonvlKUqlXh5Ag1wUz4GX9cYoVAfakm3p2RNVQRyfDnK1RbI1gKt\ny6mS\r\n=9BI1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6MAA6SUws3IiW2XUmgzNCp5nTYaiDqcFcDh4NPks6VAiBEr8JGCYAyyRHgWaauuqVNm/2xQk5q5sCQw+kzbwz1Wg=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_4.1.2_1569943304515_0.35788111047176363"},"_hasShrinkwrap":false},"4.1.3":{"name":"shrink-ray-current","description":"Node.js compression middleware with brotli and zopfli support","version":"4.1.3","contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},{"name":"CodeIter","url":"https://github.com/CodeIter"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"dependencies":{"@types/express":"*","@types/iltorb":"*","@types/node":">=14.14.37","accepts":"^1.3.0","bytes":"^3.0.0","compressible":"^2.0.18","debug":"^4.3.1","lru-cache":"^6.0.0","multipipe":"^4.0.0","on-headers":"^1.0.0","stream-buffers":"^3.0.0","vary":"^1.1.0"},"devDependencies":{"@alorel-personal/conventional-changelog-alorel":"^2.1.3","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","coveralls":"^3.1.0","doctoc":"^2.0.0","expect":"^26.6.2","iltorb":"^2.4.5","mocha":"^8.3.2","node-zopfli-es":"^1.0.7","nyc":"^15.1.0","proxyquire":"^2.1.0","semantic-release":"^17.4.2","supertest":"^6.1.3"},"peerDependencies":{"iltorb":"^2.0.0","node-zopfli-es":"^1.0.3"},"engines":{"node":">=8.0"},"scripts":{"reinstall":"rm -rf node_modules package-lock.json && npm install","release":"semantic-release","test":"nyc mocha --check-leaks --bail","doctoc":"doctoc --github README.md"},"gitHead":"9696b1c69dd7e255947e8ce2c83e9774b3762000","homepage":"https://github.com/Alorel/shrink-ray#readme","_id":"shrink-ray-current@4.1.3","_nodeVersion":"14.16.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-1E2j/pslLwNrbDvWEUGRBKG56LmzRzrlBDjk1xWjfOuyS88s1riZ6oP7mHIf0p4riyk9QVzn6RTXAKBvJzGOzw==","shasum":"aff00f7b1bcaedba71764a34b5563c99dfe103cb","tarball":"https://registry.npmjs.org/shrink-ray-current/-/shrink-ray-current-4.1.3.tgz","fileCount":8,"unpackedSize":38752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd1EpCRA9TVsSAnZWagAAmvQP/Ag/xbVCoq5NmlcJBE9u\nsiCPZM07PaYH89BWscvas4lJBm+mKvj+9ox0DkqE30/L9T3e++IVN/GKihtO\njHEoWucKlDmzaQ9xxNj9+Nqw2lYV0ObwBFLnBkyLlLCiuZg1lHYpea3FDk8H\nE4mcTwbqeeEmnxXDn0i/EgC0jcGoL8NUieCD8RmS12CN8//eYcaivgVTO9f+\nehz4nJv4dnesjt9gqqsteWQ1t0Z3ufQhRAiQZogEi44WfIz/5ZCxd0My5P6o\nkPkd3vSos0v9xy6ughrPdpIwXZIYywjsRfZDe0bz8jHlnxe4HRyW7PwQt6BF\n11870hSqL9R8Kf+VMzgUOvTqk/IGzvVCIHiUjQtVjOtsM9tRGzqB9M1+lk8B\nOK1k1rlA9AkXxp3Lj2jMki9Wzv7vWUZiTTIWtoN6cbCbBv0lNTw0bpTT1e91\nf60iYUO85rx+/fcKo15My0T0HJ7plJdvbq0OGiuwAVZJ8RLeo+yTOB+fBlvX\nOYmu81lo+ZfgADNG7D5He444otknUYishO3Lk2IeA9fk+RTBXjsqnBlLWpn2\naW6SxPsrdakaXYtau4v8o1tM/SYMI4efSX/bqJBZmvq7eufE31ERZKcgv+uJ\n3T53scX5Wun4CMoLb0thiLVzrWfeVd0AkCJowZk9DT4KjiBGrnpfYswiNL+r\nXNLl\r\n=0uaQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDanPH7WM5H+Oct3yIn7PRBksPJOqK+uVSKYwyx7AKapAiBQsRQO/mNQzTaE6f+optttL68w8T7u0MlhuoJTIgmzjw=="}]},"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrink-ray-current_4.1.3_1618432297401_0.6602586584497843"},"_hasShrinkwrap":false}},"readme":"# shrink-ray-current\n\nThe original [shrink-ray](https://www.npmjs.com/package/shrink-ray) appears to be abandoned.\nThis mirror has all the dependencies up-to-date.\n\n[![Version](https://img.shields.io/npm/v/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)\n[![License](https://img.shields.io/npm/l/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)\n[![Build status](https://img.shields.io/travis/Alorel/shrink-ray/master.svg?style=flat-square)](https://travis-ci.org/Alorel/shrink-ray)\n[![Coverage](https://img.shields.io/coveralls/github/Alorel/shrink-ray/master.svg?style=flat-square)](https://coveralls.io/github/Alorel/shrink-ray)\n[![Dependencies](https://img.shields.io/david/Alorel/shrink-ray.svg?style=flat-square)](https://github.com/Alorel/shrink-ray/blob/master/package.json)\n[![Dev Dependencies](https://img.shields.io/david/dev/Alorel/shrink-ray.svg?style=flat-square)](https://github.com/Alorel/shrink-ray/blob/master/package.json)\n[![Greenkeeper badge](https://badges.greenkeeper.io/Alorel/shrink-ray.svg)](https://greenkeeper.io/)\n\nNode.js compression middleware with modern codings like brotli and zopfli.\n\nThe following compression codings are supported:\n\n  - deflate\n  - gzip\n  - brotli\n  - zopfli (for asynchronous compression of static assets only)\n\nIn addition, if a response contains an ETag, `shrink-ray-current` will cache the compressed\nresult for later requests and even re-compress it asynchronously at the highest\npossible compression (using zopfli for gzip and deflate and brotli quality 11\nfor brotli). This makes it possible to use the best possible compression\nalgorithms for static content (saving as much as 25% over standard gzip) without\nsacrificing runtime performance.\n\nThe combination of caching and use of better compression algorithms makes\n`shrink-ray` serve static files in [our benchmark](./benchmark) 3x faster than\n`compression` while using only one quarter as much CPU time.\n\n**Note:** this project was forked from `compression`, the standard Express/Connect\ncompression middleware, and it stands on the shoulders of that impressive\nproject.\n\n# Table of Contents\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n\n- [Install](#install)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n  - [`shrinkRay([options])`](#shrinkrayoptions)\n    - [Options](#options)\n      - [useZopfliForGzip](#usezopfliforgzip)\n      - [filter](#filter)\n      - [cache](#cache)\n      - [cacheSize](#cachesize)\n      - [threshold](#threshold)\n      - [zlib](#zlib)\n      - [zlib.chunkSize](#zlibchunksize)\n      - [zlib.level](#zliblevel)\n      - [zlib.memLevel](#zlibmemlevel)\n      - [zlib.strategy](#zlibstrategy)\n      - [zlib.windowBits](#zlibwindowbits)\n      - [brotli](#brotli)\n    - [.filter](#filter)\n  - [res.flush](#resflush)\n- [Examples](#examples)\n  - [express/connect](#expressconnect)\n  - [Server-Sent Events](#server-sent-events)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# Install\n\nYou must first install `node`, `npm`, and [the node native build\ntoolchain](https://github.com/nodejs/node-gyp#installation).\n\n```bash\nnpm install shrink-ray-current\n```\n\n## Peer Dependencies\n\nThe brotli and zopfli algorithms rely on Node modules with native bindings.\nSome environments may not be able to build these dependencies, but\n`shrink-ray` tries to run even when they are absent; it just falls back to\ngzip.\n\nTherefore, the `iltorb` and `node-zopfli-es` modules are listed as\n`peerDependencies` in `package.json`. This is for two reasons:\n\n- `shrink-ray` will install successfully without them and fall back to gzip\n- Projects using `shrink-ray` can specify their own version ranges of these\n  dependencies for maximum control\n\nAdd them manually to your `package.json` as `optionalDependencies`:\n\n```js\n\"optionalDependencies\": {\n  \"iltorb\": \"~2.0.0\",\n  \"node-zopfli-es\": \"~1.0.3\"\n}\n```\n\nThen, run `npm install` again.\n\n_(Node `>=11.8` has Brotli compression built in, but `shrink-ray` supports\nprior versions of Node as well. If your version of Node is `>=11.8`, the\n`iltorb` module is not necessary at runtime; however, you'll still see a\nwarning at install time.)_\n\n# API\n\n```js\nconst shrinkRay = require('shrink-ray-current');\n```\n\n## `shrinkRay([options])`\n\nReturns the shrink-ray middleware using the given `options`. The middleware\nwill attempt to compress response bodies for all request that traverse through\nthe middleware, based on the given `options`.\n\nThis middleware will never compress responses that include a `Cache-Control`\nheader with the [`no-transform` directive](https://tools.ietf.org/html/rfc7234#section-5.2.2.4),\nas compressing will transform the body.\n\n### Options\n\n`shrinkRay()` accepts these properties in the options object.\n\nNote that `shrink-ray` options are backward-compatible with `compression`, but\nwe have also moved all of the gzip/deflate/zlib-specific parameters\ninto a sub-object called `zlib`. If you use `zlib` parameters at the root level\nof options in `shrink-ray`, you will get a deprecation warning.\n\n#### useZopfliForGzip\n\nWhether to use [node-zopfli-es](https://www.npmjs.com/package/node-zopfli-es) (`true`) or zlib (`false`) for gzip compression.\nDefaults to `true`.\n\n#### filter\n\nA function to decide if the response should be considered for compression.\nThis function is called as `filter(req, res)` and is expected to return\n`true` to consider the response for compression, or `false` to not compress\nthe response.\n\nThe default filter function uses the [compressible](https://www.npmjs.com/package/compressible)\nmodule to determine if `res.getHeader('Content-Type')` is compressible.\n\n#### cache\n\nA function to decide if the compressed response should be cached for later use.\nThis function is called as `cache(req, res)` and is expected to return `true` if\nthe compressed response should be cached and `false` if the response should not\nbe cached. Note that `shrink-ray` uses ETags to ensure that a cache entry is appropriate\nto return, so it will **never** cache a response that does not include an `ETag`,\neven if the cache function returns `true`.\n\nWhen a response is cached, it will be asynchronously re-encoded at the highest\nquality level available for the compression algorithm in question (zopfli for\ngzip and deflate, and brotli quality 11 for brotli). These quality levels are generally\nnot acceptable for use when responding to a request in real-time because they\nare too CPU-intensive, but they can be performed in the background so that\nsubsequent requests get the highest compression levels available.\n\nBy default, `shrink-ray` caches any response that has an `ETag` header associated with\nit, which means it should work out of the box with `express.static`, caching static\nfiles with the highest available compression. If you serve a large number of dynamic\nfiles with ETags, you may want to have your cache function restrict caching to your\nstatic file directory so as to avoid thrashing the cache and wasting CPU time on\nexpensive compressions.\n\n#### cacheSize\n\nThe approximate size, in bytes, of the cache. This is a number of bytes, any string\naccepted by the [bytes](https://www.npmjs.com/package/bytes) module, or `false`\nto indicate no caching. The default `cacheSize` is `128mb`.\n\nThe size includes space for the URL of the cached resources and the compressed bytes\nof the responses. It does not, however, include overhead for JavaScript objects,\nso the actual total amount of memory taken up by the cache will be somewhat larger\nthan `cacheSize` in practice.\n\nWhen deciding how large to make your cache, remember that every cached resource\nin your app may have as many as three compressed entries: one each for gzip,\ndeflate, and brotli.\n\n#### threshold\n\nThe byte threshold for the response body size before compression is considered\nfor the response, defaults to `1kb`. This is a number of bytes, any string\naccepted by the [bytes](https://www.npmjs.com/package/bytes) module, or `false`.\n\n**Note** this is only an advisory setting; if the response size cannot be determined\nat the time the response headers are written, then it is assumed the response is\n_over_ the threshold. To guarantee the response size can be determined, be sure\nset a `Content-Length` response header.\n\n#### zlib\n\nThere is a sub-object of the options object called `zlib` which contains all of\nthe parameters related to `gzip` and `deflate`. In addition to\nthose listed below, [zlib](http://nodejs.org/api/zlib.html) options may be\npassed in to the `zlib` sub-object.\n\nAlso note that to temporarily preserve backwards compatibility with `compression`,\nall of these `zlib` parameters can be included at the root level of the options\nobject. However, having `zlib` parameters at the root level is deprecated, and we\nplan to remove it.\n\n#### zlib.chunkSize\n\nThe default value is `zlib.Z_DEFAULT_CHUNK`, or `16384`.\n\nSee [Node.js documentation](http://nodejs.org/api/zlib.html#zlib_memory_usage_tuning)\nregarding the usage.\n\n#### zlib.level\n\nThe level of zlib compression to apply to responses. A higher level will result\nin better compression, but will take longer to complete. A lower level will\nresult in less compression, but will be much faster.\n\nThis is an integer in the range of `0` (no compression) to `9` (maximum\ncompression). The special value `-1` can be used to mean the \"default\ncompression level\", which is a default compromise between speed and\ncompression (currently equivalent to level 6).\n\n  - `-1` Default compression level (also `zlib.Z_DEFAULT_COMPRESSION`).\n  - `0` No compression (also `zlib.Z_NO_COMPRESSION`).\n  - `1` Fastest compression (also `zlib.Z_BEST_SPEED`).\n  - `2`\n  - `3`\n  - `4`\n  - `5`\n  - `6` (currently what `zlib.Z_DEFAULT_COMPRESSION` points to).\n  - `7`\n  - `8`\n  - `9` Best compression (also `zlib.Z_BEST_COMPRESSION`).\n\nThe default value is `zlib.Z_DEFAULT_COMPRESSION`, or `-1`.\n\n**Note** in the list above, `zlib` is from `zlib = require('zlib')`.\n\n#### zlib.memLevel\n\nThis specifies how much memory should be allocated for the internal compression\nstate and is an integer in the range of `1` (minimum level) and `9` (maximum\nlevel).\n\nThe default value is `zlib.Z_DEFAULT_MEMLEVEL`, or `8`.\n\nSee [Node.js documentation](http://nodejs.org/api/zlib.html#zlib_memory_usage_tuning)\nregarding the usage.\n\n#### zlib.strategy\n\nThis is used to tune the compression algorithm. This value only affects the\ncompression ratio, not the correctness of the compressed output, even if it\nis not set appropriately.\n\n  - `zlib.Z_DEFAULT_STRATEGY` Use for normal data.\n  - `zlib.Z_FILTERED` Use for data produced by a filter (or predictor).\n    Filtered data consists mostly of small values with a somewhat random\n    distribution. In this case, the compression algorithm is tuned to\n    compress them better. The effect is to force more Huffman coding and less\n    string matching; it is somewhat intermediate between `zlib.Z_DEFAULT_STRATEGY`\n    and `zlib.Z_HUFFMAN_ONLY`.\n  - `zlib.Z_FIXED` Use to prevent the use of dynamic Huffman codes, allowing\n    for a simpler decoder for special applications.\n  - `zlib.Z_HUFFMAN_ONLY` Use to force Huffman encoding only (no string match).\n  - `zlib.Z_RLE` Use to limit match distances to one (run-length encoding).\n    This is designed to be almost as fast as `zlib.Z_HUFFMAN_ONLY`, but give\n    better compression for PNG image data.\n\n**Note** in the list above, `zlib` is from `zlib = require('zlib')`.\n\n#### zlib.windowBits\n\nThe default value is `zlib.Z_DEFAULT_WINDOWBITS`, or `15`.\n\nSee [Node.js documentation](http://nodejs.org/api/zlib.html#zlib_memory_usage_tuning)\nregarding the usage.\n\n#### brotli\n\nTo control the parameters of the brotli algorithm, pass in child object at the key\n`brotli` with one or more of the following brotli algorithm parameters: `lgblock`,\n`lgwin`, `mode`, or `quality`.\n\nNote that unlike the standard brotli library, which defaults to quality 11, this\nlibrary defaults to quality 4, which is [generally more appropriate for dynamic\ncontent](https://blogs.akamai.com/2016/02/understanding-brotlis-potential.html).\n\n### .filter\n\nThe default `filter` function. This is used to construct a custom filter\nfunction that is an extension of the default function.\n\n```js\napp.use(shrinkRay({filter: shouldCompress}));\n\nfunction shouldCompress(req, res) {\n  if (req.headers['x-no-compression']) {\n    // don't compress responses with this request header\n    return false;\n  }\n\n  // fallback to standard filter function\n  return shrinkRay.filter(req, res);\n}\n```\n\n## res.flush\n\nThis module adds a `res.flush()` method to force the partially-compressed\nresponse to be flushed to the client.\n\n# Examples\n\n## express/connect\n\nWhen using this module with express or connect, simply `app.use` the module as\nhigh as you like. Requests that pass through the middleware will be compressed.\n\n```js\nconst shrinkRay = require('shrink-ray-current');\nconst express = require('express');\nconst app = express();\n\n// compress all requests\napp.use(shrinkRay());\n\n// add all routes\n```\n\n## Server-Sent Events\n\nBecause of the nature of compression this module does not work out of the box\nwith server-sent events. To compress content, a window of the output needs to\nbe buffered up in order to get good compression. Typically when using server-sent\nevents, there are certain block of data that need to reach the client.\n\nYou can achieve this by calling `res.flush()` when you need the data written to\nactually make it to the client.\n\n```js\nconst shrinkRay = require('shrink-ray-current');\nconst express   = require('express');\nconst app       = express();\n\n// compress responses\napp.use(shrinkRay());\n\n// server-sent event stream\napp.get('/events', (req, res) => {\n  res.setHeader('Content-Type', 'text/event-stream');\n  res.setHeader('Cache-Control', 'no-cache');\n\n  // send a ping approx every 2 seconds\n  const timer = setInterval(() => {\n    res.write('data: ping\\n\\n');\n\n    // !!! this is the important part\n    res.flush();\n  }, 2000);\n\n  res.on('close', () => {\n    clearInterval(timer)\n  })\n});\n```\n","maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"time":{"modified":"2022-05-17T18:44:33.847Z","created":"2017-11-19T03:27:05.487Z","1.0.0":"2017-11-19T03:27:05.487Z","2.0.0":"2017-11-20T12:14:35.358Z","2.1.0":"2018-01-18T21:00:17.033Z","2.1.1":"2018-06-22T08:55:14.253Z","2.1.2":"2018-07-24T18:22:11.951Z","3.0.0":"2018-11-02T09:53:48.183Z","3.0.1":"2018-11-05T00:13:04.332Z","3.0.2":"2018-11-21T09:28:21.657Z","4.0.0":"2019-04-29T13:20:39.175Z","4.1.0":"2019-09-28T12:51:38.177Z","4.1.1":"2019-10-01T15:20:04.937Z","4.1.2":"2019-10-01T15:21:44.686Z","4.1.3":"2021-04-14T20:31:37.596Z"},"homepage":"https://github.com/Alorel/shrink-ray#readme","keywords":["compression","gzip","deflate","brotli","zopfli","middleware","express","connect","compress","content-encoding"],"repository":{"type":"git","url":"git+https://github.com/Alorel/shrink-ray.git"},"contributors":[{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},{"name":"CodeIter","url":"https://github.com/CodeIter"},{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Scott Davis","url":"https://github.com/scttdavs"},{"name":"Sasha Aickin"},{"name":"James Zetlen","url":"https://github.com/zetlen"}],"bugs":{"url":"https://github.com/Alorel/shrink-ray/issues"},"license":"MIT","readmeFilename":"README.md","users":{"j-f":true}}