{"_id":"@hapi/ammo","_rev":"30-a94ed39f48b04eb0975e1438cbc92966","name":"@hapi/ammo","dist-tags":{"lts":"3.1.2","latest":"6.0.1"},"versions":{"3.1.0":{"name":"@hapi/ammo","version":"3.1.0","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@3.1.0","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"a3281ecb68bf7af2ffa6d0f7656536a7d23700ed","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-3.1.0.tgz","fileCount":6,"integrity":"sha512-iFQBEfm3WwWy8JdPQ8l6qXVLPtzmjITVfaxwl6dfoP8kKv6i2Uk43Ax+ShkNfOVyfEnNggqL2IyZTY3DaaRGNg==","signatures":[{"sig":"MEUCIQCOju6HYpyMkz22QQ+FnpwwJ/JhdwXKK4BpiGj6VqXDAgIgKqQx7QOgt3eQjMCp/za9fq3DpYZjNptIYhcjwuHaeA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnyImCRA9TVsSAnZWagAAgIcQAIfbELpZReiXBYynAWWE\nZIKyeqE9bgtexg/GlymAHnc99/6d4tmjau7sHPWG7xy7X3ACyBZo8tzD0ZwP\nx4NgOg30nOL9XaDJDhYsSZ16EyVD0yYSwIfJrpDvs5TUlmm3VguHz1w9r3+Y\ndit/a6tvzee+mTNAn0Ydzfl8J3FoyYzYOrWyQk+sTfD554MpbcS2nieS0np+\nazRbNAFux3/foxwcpAvt1uWrXhZ64C1pza8iJ5j3Or+zTgryxjvz6qmynBJ8\nVcMOBK+dw9MBAHgMlu50ZdyfmBSMvbpwxRHGd2hlxn6wgv/CqOb4JNQb+CIb\nSvGoe/h87/89lsQlrHxlpp9m7V9MZSfpJH2M1Ssm4BN69GPY22KnIVXmb9Qa\n5NOIKFvUoSuq7nrpY1wWhR44tJ+7SDq0qD1pLyx6RhkxlAgiRb3UnvMszBrG\nk9tad/Cbm4AtM+1WyCnysyDZDQPMZVs9jKTIKBYsSRkEBDcKZwv8FkDFbQqp\nWlK2Jeu/19adyHIaWjG8gHWmMSu9LBBeEjmUgP8QTbV2a2DYuIwvCuPxChvf\nc/OwDp3YCAJJIpzsnI4brfLoQc1BjamOoAFUvSido6bKNv7U14EvhQVQgdve\nUME1LzVcWbHpOB4o1IeTx4lZLz4o72zMfgBdn6m8xv5s+negURTVo+Bh1Nf9\nQjzn\r\n=SqKt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"877b2af4d707dbbd5a9f23ff9e00a269ebab983d","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated and is no longer supported or maintained","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.9.0","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"10.15.0","dependencies":{"@hapi/hoek":"6.x.x"},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"18.x.x","@hapi/code":"5.x.x","@hapi/wreck":"15.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_3.1.0_1553932838182_0.8223702262715935","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@hapi/ammo","version":"3.1.1","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@3.1.1","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"ab700dac10f0b7fc5b7168c550c6be45ec3b981b","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-3.1.1.tgz","fileCount":6,"integrity":"sha512-NYFK27VSPGyQ/KmOQedpQH4PSjE7awLntepX68vrYtRvuJO21W1kX0bK2p3C+6ltUwtCQSvmNT8a4uMVAysC6Q==","signatures":[{"sig":"MEUCIQCRSUqcM1B2kpyiFQ+OgMjlhUw/Ointf/wgZo9VFtoVswIgVvLhA1I87wgRl4Nja2fZKEP0hWcX6Zyoj3Yb1Pam26M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUyHhCRA9TVsSAnZWagAA8cgP/3yJL3KmA8C1iezmfpfL\nPDptinkXpGDBeN6X09ktO6ybFJI8fjmSz0fhAX7tjZbU+28mM5E6IGtZ0Jju\nB6eGccEpvYlhvc9TK72DpV0GvdSHtimezhthTnYW1z0076Ti1nN8hxYtSsCL\nt/7w1RoxmgGZPKHKvomw6GLxtVfiyfI//BIa5RjESe0lBXuQZ2/vcnvsEnHP\n6J6dOlGZlfct3CUhr721X2jY0Gd6Ps48fsPGy4WomL2DuxCEjJR9XKNw/+hN\n57DGzYAH/gU0WXyplXmWEgwaKn9nNL/RSJ+itsyaL+fzMadxenlbQAsIz/8i\nF0RCxBiW9QwHsx/Ca1ocAaE+G+jlFlh8kcem7ORZo2+C0kDgA3Pgxtxqk+Y9\n5L9zsUGgY71DXANKoqZdkmy3CXgJcBCtbxcw5iju3kgAwzmFtlhilsxsAy8N\nQJSVz7OpxPOUyWBkYvlLS1lV4woOXYm4bPlvsBTQDh4eHl8ZTbDz0xYYBsCv\nr1cXx+mt/nJhg+Q+R0vRQBURGcXki4OBKwrhtyxqM4LPQ1UdiCAfxaB98CzT\ndGBhMltjKKQ76LpeRb66IvYwF/BAqU0M5YY4+7KLg8QexbhcN9VCt2ehqOTq\nNFmOllZpzvpjsrRk1BRAJ4AnFdMp37+fkHqHHdPbXenUuanBFX1+VYTbsSjN\nTPYW\r\n=Nmjn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"226e3305ac668f5b7a9b6de98b81fc0ef157a441","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated and is no longer supported or maintained","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.10.0","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"12.7.0","dependencies":{"@hapi/hoek":"8.x.x"},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"20.x.x","@hapi/code":"6.x.x","@hapi/wreck":"15.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_3.1.1_1565729249142_0.8976251295698685","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@hapi/ammo","version":"4.0.0","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@4.0.0","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"932c135693397320a9e0a5e46e28238417d7d7e8","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-4.0.0.tgz","fileCount":6,"integrity":"sha512-rMYIKrnpQWuE+fD3fj9svcKNkl5EEfkMkfn0lAJgQ/q1phfn86VwPsPsVzGS7V+p5OzdRKUrll/FQGI7ze4q7w==","signatures":[{"sig":"MEUCIQD/BEmVTOIGailhDqrsPzqBAfd1gNgSbxjuMOERBMcSgQIgD2hVCsFpaEyF/Eee7Xr5WwlTT9MUB4FGFgItW4kjcCI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpRDYCRA9TVsSAnZWagAA/4sP/j3qfFtRtmZNNsw7P6g9\nqnYrbK0PnJ0KHJgYWrxUIF46riq4WnmeX/pk2qoiHIphVeQK4gpdzcQC2CdZ\nOKtjWJ99yxIlkfA4J/WY5bmVM7BeWXMgggf9Bd9GOMCEfT4kmB2UsarHyQTE\nFz/17Kl6trypS91UxMtz/RROJWu+Rmu65Q35LI628B5qCL9Ml0ZMJn47ienK\nEtXqLvUNtQK3jHg9rED3aiZ9dDWUSQotkUI6O6u2XVkB4GBc+rZb04GEP1v3\nGX3BcJuyUKQym6f57N7T2lW2yCGWMQQfjPnXlG42hRA/CUxsTla36QwHKAgH\nRvK91IV1580+CLeBmsplQBJNbTxVWX/UykqH726kxx9qAPFASmPOd7krE7QI\n+PYRgtWgsPcWldkunw7ZguFb0MLpTqREbpvvIJeEQIgfMsD5K8rx2J58cSSs\nNrw37HblD0hTQmo/ODNE54Ps7xkt/pbMxEyYDRDnSZABVxr4i/OrkkhKWVV0\n3mfXD44O4y9lR1Ku8VPa6DAw3MSzQwNZVxTS3WjXGL55Trnv9vSHASTYx832\nr11nTVjbzjVOnxOGhX8Jlpn+Dn6tHRZB1pagNZVOs+KqXmyvwzjF2CD6Mok4\n4b5PT/hHdi5uAUi5mxGwWHyectnC0pHiU1YS9gk75CjiMu6+MMbBcFdZXNLk\nPRAj\r\n=LZFH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"47d3445d58bb17a1f0711667437c3ba1fe602acc","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.11.3","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"10.16.3","dependencies":{"@hapi/hoek":"8.x.x"},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"21.x.x","@hapi/code":"7.x.x","@hapi/wreck":"16.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_4.0.0_1571098839275_0.467344067752989","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@hapi/ammo","version":"5.0.0","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@5.0.0","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"016f0c55b1fee360cfdb891db58e66602189149d","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-5.0.0.tgz","fileCount":5,"integrity":"sha512-N8JHIBG0Azlg8kUmy2KGqgWPc9HyGZmAQNwR7fdLdDM4YqMJM9eMi6eCZ9kElpo5S4pK81U6S7Q3s+TSjaBDgg==","signatures":[{"sig":"MEUCIQCwI0cQ3h2evWlzAQOji0v6wWDuNVEc71T6W9Z4ywtACwIgDdy/JTKZmq0oTMs7dHbWa0tEj//4NP11C1OsHPoK3VU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEP62CRA9TVsSAnZWagAARhwQAIoAghyC/4pLGV8BcD2L\nEX7+/j3pbBzeJmgoc8dNrCIi8RQo3+VfFHXt/an4dj+yzyWuGr/0usrHhAIF\nfoBCU4+EPySxOxiJ3q9LtfwsjU0Lc7o3nYE2EGszfJ8kZ7DU5ThzUWafx/HE\n0LCdggIFaR3dqIemE8BzltBR5lUP3Ct+IHNpp6WHka7Unuz6PbbkA8y0ccjW\nJxUWBCQj0wY/DT+lGLHzstfCTnhx6HkZF/BWvYPpnO5ywPWlR55d9B8WfiaW\nQ0qFlwbjIOBFEPZx9KIDW06PgZA1xOwzR+pBBHsL3sLBJKVZTudDD3u9aXRb\nb9CDUQAGfawe/CA+3kInkLE4Ybp9Isjaeg034MdFkeUHYTX4VswTrUjpBSSo\nJwCm0UtEHXXqSw/w/bXfaJcVQyb95KO4FknTj8myB6TJl9hhX7fYOW3tXxKX\nA/eI+E4V7JdgNIM+eSFjAVtmjQsa9t7IM2JvjvdGQvw6vOzltF+3W62ik1G+\n8CT5/qNTPCvgfodQmp+dg1MvQRujBoaEyegk7myT7TrmLeIUXumKkY4lTm9J\nZSL5OmJF0iPZCmzy0cdwPG5NOw7tJ5UbX6DVOBkzxlrLfXtS2zXdrYHTxJEo\nQIehSXIo7liT7usC82pYckvJ6d6u4Th+/Uqn14EBKNWAqrwp3ASChYkcXOoI\nF6CD\r\n=rKIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"09904e0d2ea0c2306b237c366008425b94e0f48b","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.12.0","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"13.0.1","dependencies":{"@hapi/hoek":"9.x.x"},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"22.x.x","@hapi/code":"8.x.x","@hapi/wreck":"17.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_5.0.0_1578172085642_0.31203191294556776","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@hapi/ammo","version":"5.0.1","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@5.0.1","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"9d34560f5c214eda563d838c01297387efaab490","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-5.0.1.tgz","fileCount":5,"integrity":"sha512-FbCNwcTbnQP4VYYhLNGZmA76xb2aHg9AMPiy18NZyWMG310P5KdFGyA9v2rm5ujrIny77dEEIkMOwl0Xv+fSSA==","signatures":[{"sig":"MEYCIQDbGzSEkh4kupyVbaUQM3RmWHCz47YS510OlCK+QkXnOgIhANmLm2zR+v3aBfALXN0hBlNuOT8Wkv9r35C4B3pkdLN7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRNtBCRA9TVsSAnZWagAAij0P/AwXdaktvrclYfOmF5k6\nj7vAttKYo3sersQ9YknNbet+VqOAOW0YMtgXRT2XfOrVLtr1y009jbNxgi7K\nO5Lp2VG/otWPCtDaLeR7WNRm6bE2m0/qpjrQ33/8mMjFTLA/G+yxw04CpQfr\n7kNDPgRvqoGNLz2LbDM/Lb3tgBs7Na7jxNbEG7HQtHImIJ2fcL9oiyajhFHT\nZ98zh47wKEVw9qNakXqM39/Ine4biO5YlNZFBAx0KvJl1e3dylsRrVkpgVyh\nO8rMpbnmQMsAs2KReXB2lBT3rtghPxFuSfw/1GU79tJmb0vdL3Z8karjFko5\nWMw+ymqpzbtRDNTjCWDUDqOSaXypIilMjun3W3ohV64UikdQVpWfEQSEdhVP\noNYd6zEa0LxPKVTQxzVq4QenplUu7oGQ0IddzARRJ2BNiMqO+ELh7eJZOTtN\nrGzHVWM7CECG0wfX+U2OBljE1ZK/fNNps6/xuHk6rFchHrl6RKJef7+U7KCd\nAEhVCOsJo2TcsQhQrvr6CuPfE26CELCf9KLjvuV68Q/XpkG6K8908IaVgwYI\nnid4ROvmOEv6+E4LjqWEAJLqC8jkuWZSptDLMoIGtjtnhlxZ1FmOktfzX070\nmNdMSRnZp5ho7sEUxu22OAmv90JwedzH8R6m1I/rHXV9vHxhcaWY2oDem0sQ\neLps\r\n=7Hai\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"a8f1d14aba0c76413ac032c677193f5d32d8e20b","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.13.7","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"13.7.0","dependencies":{"@hapi/hoek":"9.x.x"},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"22.x.x","@hapi/code":"8.x.x","@hapi/wreck":"17.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_5.0.1_1581570881169_0.5747004279462342","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@hapi/ammo","version":"4.0.1","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@4.0.1","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"f8cbf4d37ab5057957b285a2e3ef1b1c72eb881a","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-4.0.1.tgz","fileCount":6,"integrity":"sha512-k83PveRa/83srn3gkBcXWg0ulxlrNv8BurS1HChhIOaou6JcERyGVyUe6lZWpK8jRY5Ic1YATkP+UCSu7ybsjg==","signatures":[{"sig":"MEUCIQD5IiEwEHefldpIcU57VrUcHNdqKKXOsuYSICTteHGVmAIgJW5X8im9xnComzm3Dmb2mWC0C0HdAFNZ1smQMyrE9Fk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRN3FCRA9TVsSAnZWagAA6AIP/0gufNaraQXRFge5WNci\n9UU3SK4i9ybghduOq7k5dbIzCYdhJfEok7MNXda7rxKw9maYfOedwPsRFtQp\n9lS+c+Etvx0GHzth+hlLa7GDWySDQoSjpfG7OyCeXtWTeeYniqkzja/fdDU+\nVVGSDa2kMrQoPhKkPNxe82UQC82rYTzUiJ53iIS82Bz43x4WImg7EdmZimdp\ngmYEmAsfnqEPKKHtv8K3DzpgFGT4tUhyAILbvdwOvP9tdsfdS//tvbhcV5ns\nqEwYiLkiVAL4piA3c7KK5Ihs6D7aVP8DOBcJyqp+757wu/pbc7aIQ/dkI10C\nVt9vroYd8wymP4wqnQ3TpuQM9CBhqH7j34SxYgraAegHRif6ZSuirX3+ZM8g\n5brldoOI2QmlIeBmCZvech/9H+qLXVWV5lMBj4C3CNjk2QW9XS5iJz7GCf3q\nSU8QMcRusDejlU5ygDXD5UHsgJCf5qkoupYD8Dw4RsxEu+4JEXca7pgwSNs3\n2ccr0TXAGBGsRmvl+i9LOHSyjB91sci786Hp/CYFb5lGhPmCrOEty6572Tmx\n6GnnaFRqLbG0mwtiOvWR7ciDWimrwhZl4BUVhCG53TchBklJhxWdeKySBlqm\nkGJ1vw7Kw9xwSCGePo9zkUHAN1Oc6BfR5j26CWeRDRui4CrnBnqV0yyXkEPC\nGywZ\r\n=iJZJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<a href=\"https://hapi.dev\"><img src=\"https://raw.githubusercontent.com/hapijs/assets/master/images/family.png\" width=\"180px\" align=\"right\" /></a>\n\n# @hapi/ammo\n\n#### HTTP Range processing utilities.\n\n**ammo** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.\n\n### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support\n\n## Useful resources\n\n- [Documentation and API](https://hapi.dev/family/ammo/)\n- [Versions status](https://hapi.dev/resources/status/#ammo) (builds, dependencies, node versions, licenses, eol)\n- [Project policies](https://hapi.dev/policies/)\n- [Free and commercial support options](https://hapi.dev/support/)\n","gitHead":"9d21d95464245a538837e4dd00a2792611873797","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.13.7","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"13.7.0","dependencies":{"@hapi/hoek":"8.x.x"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@hapi/lab":"21.x.x","@hapi/code":"7.x.x","@hapi/wreck":"16.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_4.0.1_1581571524241_0.4760826971215466","host":"s3://npm-registry-packages"}},"3.1.2":{"name":"@hapi/ammo","version":"3.1.2","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@3.1.2","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"a9edf5d48d99b75fdcd7ab3dabf9059942a06961","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-3.1.2.tgz","fileCount":6,"integrity":"sha512-ej9OtFmiZv1qr45g1bxEZNGyaR4jRpyMxU6VhbxjaYThymvOwsyIsUKMZnP5Qw2tfYFuwqCJuIBHGpeIbdX9gQ==","signatures":[{"sig":"MEUCIQD5ZA292i9GvttojPbtp09OJoHb3VSrV7QhP0oTQvmiLAIgHJB8d5qhBQUQ9OwW7X4i9JdY5OmVnAgvAEN7LqNrxzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRN7pCRA9TVsSAnZWagAANegP/jGkeSnzFKvjTnrao+Tz\n7rmMuqnDhUBkezKj6pj52lMDETABc6iytt4MRA7Lv4k7TOmBAy+VSlnx/r7e\nYV9ONFhx+NBl4CgRgNK6JklWWtY+rEwhZkWfH6aIMRpY9VnQxAAB+hFh2dcv\nQrL0YkJiIr4N36iGoO3rTTh+oS2uUcJPT2jbVvKxIl3KBVAppYt7Ja371pyK\nijPx2N7kAGC63RCj4WCwgvFNidcl0MvuG9bkzvvYTvlR2TMrE4EcAtG9O7b0\nlUldDNAJqgR6cXdMT8ZIU5aIT2n7f4ztanPqadG5WtCKhZo+be32Q3XlzgQK\npZw8cWAXx2Rg/d5YBjutoy/7PFaflMcCQ7VfSzW5EnBMTRdyw4M5K8gzEd6+\n+cLlfm02W61/yQFqSejSxXwBZ5lPTGOpsZ8fxsvbP9BIVqhbeILKs5Su8gaD\n6lq52wUd34o/FHA88DxFPpN5wt/abXuDuSMZOL2oPEGVa6KuhMhr9u0oAIOu\n482Ck34VHFi0MeuhpyZ9c56kcHF23naphtenPTM8f81IK699G4Ux7A0WJMA7\nU9y8Z5PkA5Q4qIKWpCjN8iIdiXPWTSIrbqCoCMqH8ZAlQNkttxQSt6qkwFc2\nkO/i+kqgs7eRhRnrnKa2blVWiFnPSc9bT46CRl5nlsQAO22jati+8IF0s7BO\nSCAs\r\n=z3WW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"<a href=\"http://hapijs.com\"><img src=\"https://raw.githubusercontent.com/hapijs/assets/master/images/family.png\" width=\"180px\" align=\"right\" /></a>\n\n# ammo\n\nHTTP Range processing utilities.\n\n[![Build Status](https://secure.travis-ci.org/hapijs/ammo.png)](http://travis-ci.org/hapijs/ammo)\n\n## Usage\n\n```js\n// basic usage\nconst range = Ammo.header('bytes=1-5', 10);\n// range --> [{ from: 1, to: 5 }]\n\n// multiple ranges\nconst range = Ammo.header('bytes=1-5,7-10', 10);\n// range --> [{ from: 1, to: 5 }, { from: 7, to: 9 }]\n\n// streams (get range within a `source`)\nconst range = Ammo.header('bytes=1000-4000', 5000);\nconst stream = new Ammo.Stream(range[0]);\nconst buffer = await Wreck.read(source.pipe(stream));\n\n// buffer is the portion of source within range\n```\n\n## API\n\n### `header(header, length)`\n\nParses the range from a HTTP header.\n\n* `header` - A string in the form of `bytes=from-to`, where `from` and `to` are\nintegers specifying the range. Both are optional. Multiple ranges can be passed\nas a comma delimited list.\n* `length` - A positive integer specifying the maximum length the range can\ncover. If a `to` value passed in the `header` string is greater than `length`,\nthe `to` value is set as `length - 1`.\n\nReturns an array of objects with the properties `from` and `to`, which specify\nthe beginning and ending of the range. Overlapping ranges are combined into one\nobject. Returns `null` for invalid input.\n\n### `new Ammo.Stream(range)`\n\nCreates a [`Transform Stream`](https://nodejs.org/api/stream.html) that extracts\nthe portion of a piped in stream within `range`.\n* `range` - an object with the properties `from` and `to` that specify the range\nof the piped in stream to read. Objects returned by `Ammo.header` can be passed\ninto `range`.\n","gitHead":"a6d67a49c80bd183df450292e64462a0daaab778","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"This version has been deprecated and is no longer supported or maintained","repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.13.7","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"13.7.0","dependencies":{"@hapi/hoek":"8.x.x"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@hapi/lab":"20.x.x","@hapi/code":"6.x.x","@hapi/wreck":"15.x.x"},"_npmOperationalInternal":{"tmp":"tmp/ammo_3.1.2_1581571816734_0.9905677269110729","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@hapi/ammo","version":"6.0.0","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@6.0.0","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"wyatt","email":"wpreul@gmail.com"},{"name":"lloydbenson","email":"lloyd.benson@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"da790bf5ad5d08b4b68569e57627466ddd60cb45","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-6.0.0.tgz","fileCount":5,"integrity":"sha512-lhX7SYtWScQaeAIL5XnE54WzyDgS5RXVeEtFEovyZcTdVzTYbo0nem56Bwko1PBcRxRUIw1v2tMb6sjFs6vEwg==","signatures":[{"sig":"MEUCIQDdddsYqvd0OasVotwiEm4RkerZGAP/7/MWpYUC+rUIBAIgINv940yt7uTdeNtH2RvEgO92uEeevDzUm7fPzjsUP20=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieIIPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmBhAAgmRt0H29XOqRcpkuiZf/pFl/2O1rE50vrhk7qH27RoPwKH4P\r\nJXO064Ce59K6xeb4XxYBafeNcns5wmbN2DO8Kutdb8N7n61UuF/UP4kWk3TG\r\nhlyJg4tB0EXYIKKbfQyxWDS0t6Ip7kG+INU/y/UEo/OrYfv4J2XIOd2HTvyW\r\n8yeEOzfPyXjMO1NlDH4Y/Z2AUHw0ExhbAtwohdPB+q/vqGzmvjlJI3fhURZu\r\nJkfFM0D1WTnVllQf+vvgUR+BRIABWPAFZNShEAA5sBWQiF4cuqYNt1WscUhu\r\n9C+jk0MSo0AfVfpESadXMbkz6WH0xEEEh0gyP4qqQBiBvb5CbpQMYAC7++Ia\r\nhcdxh4IE9/ElKo4kHv3gAHpaAYwJE1pnkKf9YTaQyloJCZ0RQJK8+CFpRBhn\r\n48+K5JQKkJuOM2jieItfug2K+uFKI8NWkPORTHey3Z7JUBD3RkIl0ugD2cqR\r\nNjoJ28nJ0k24Ubczhov6/1w8eL7916ppxVqPuUujQGiuL3BGYiTc8uF5Lb+2\r\nOV0EeX28/BWWpSBaxkrCwka/8q9DrVYlAJTBqmmAImhnnwSpAreTucePBvDU\r\n7KIEcEplaNmMCsuBIFTDNLS8EJPuCj6jsVDU6yEjUUcCZkgGPRJTH0vKB6u+\r\nL+13LMn5kC3baHiPLHpz86sizjJJ2CqzFKQ=\r\n=QwFf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"5741b3f07a007a189ed7470f8ecbdbce3f37a68d","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"devinivy","email":"devin@bigroomstudios.com"},"repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"6.14.14","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"14.17.5","dependencies":{"@hapi/hoek":"^10.0.0"},"eslintConfig":{"extends":["plugin:@hapi/module"]},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"^25.0.1","@hapi/code":"^9.0.0","typescript":"~4.6.4","@hapi/wreck":"^18.0.0","@types/node":"^17.0.31","@hapi/eslint-plugin":"*"},"_npmOperationalInternal":{"tmp":"tmp/ammo_6.0.0_1652064783057_0.4337342407941862","host":"s3://npm-registry-packages"}},"6.0.1":{"name":"@hapi/ammo","version":"6.0.1","keywords":["http","range","utilities"],"license":"BSD-3-Clause","_id":"@hapi/ammo@6.0.1","maintainers":[{"name":"cjihrig","email":"cjihrig@gmail.com"},{"name":"marsup","email":"nicolas@morel.io"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"wyatt","email":"wpreul@gmail.com"},{"name":"lloydbenson","email":"lloyd.benson@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"}],"homepage":"https://github.com/hapijs/ammo#readme","bugs":{"url":"https://github.com/hapijs/ammo/issues"},"dist":{"shasum":"1bc9f7102724ff288ca03b721854fc5393ad123a","tarball":"https://registry.npmjs.org/@hapi/ammo/-/ammo-6.0.1.tgz","fileCount":5,"integrity":"sha512-pmL+nPod4g58kXrMcsGLp05O2jF4P2Q3GiL8qYV7nKYEh3cGf+rV4P5Jyi2Uq0agGhVU63GtaSAfBEZOlrJn9w==","signatures":[{"sig":"MEYCIQC+je7s2uzY0m3dpgtaIBUjGkOup3GpIrYDS3BNAdKNSwIhAKOvLs/YQnGOSBh1ij4wt5yBKEdgcK7Eutf9jF/tAIWK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5+8UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSbg//UniV2sWNFnVrJefi8Fcq406MR1pfUEkIC1QhHlKK52Jyjp7q\r\nQ8TneLFNi3KCAYsqXqOi1Ragt2xJgT1uFt5tsjk2WrqgtNSAFYK42sJ1YrXU\r\nlPOgywdkOjDJhaF3eOqX/dlfVjmThnOHDp48Irgg3kJR0GwIjo4KDFOqLT2V\r\nsEC4oXS7gIapsAiqce1EDudDYhZ9bWNDGP+r0zir1IaaN/VEmaECKhXMX0Fv\r\nB4JFg0fw/0GqBxqL0n5FBi2afNVsqlQtKuWppQtxhTRwFZTNMk2ePeWp76px\r\nOZ3m8vmchZHMJQkoG67HujCM43aw7MXQSiJGJ/+QQBGScqf5bSC7zAIqTzgC\r\n8d1771WS8ozyJL5VLzUp5Uyl+V9a9gfi6Wv/CwEKyA9na7FcsNg6/cB7gmSK\r\n8LMpt6RHLEGOSXydmEZiv+BK3yBhnhaMDiBH/YmXEACiBnjJn7Z6KNogVKcy\r\nujDp7/wl5VgvNEfWWMSacisYBoeV8xRIDgCRJH9iEekzOxViGdB9b+DdfEi+\r\nTd87elI7xHKdk5cfPIaJ9N+0c5gq1kXlige0QxIdfRxraQJcXqiIOc6oiCYP\r\nL+RHHo4ikdF6iZxKRqJTCAVuXVdSF9YcBBeAKyIbU3qGMenzW3ZQJqZzGXdO\r\nat7WVzGk5hXg34BAvdF+ltHNfa1swA7SEdo=\r\n=IC8t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"dd3eb552d56f37c6f9fe29897dac4571be46825f","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"_npmUser":{"name":"marsup","email":"nicolas@morel.io"},"repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"_npmVersion":"8.19.3","description":"HTTP Range processing utilities","directories":{},"_nodeVersion":"16.19.0","dependencies":{"@hapi/hoek":"^11.0.2"},"eslintConfig":{"extends":["plugin:@hapi/module"]},"_hasShrinkwrap":false,"devDependencies":{"@hapi/lab":"^25.1.2","@hapi/code":"^9.0.3","typescript":"~4.6.4","@hapi/wreck":"^18.0.1","@types/node":"^17.0.31","@hapi/eslint-plugin":"*"},"_npmOperationalInternal":{"tmp":"tmp/ammo_6.0.1_1676144404158_0.6236966872021026","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-30T08:00:37.983Z","modified":"2026-04-07T19:44:24.118Z","3.1.0":"2019-03-30T08:00:38.361Z","3.1.1":"2019-08-13T20:47:29.251Z","4.0.0":"2019-10-15T00:20:39.500Z","5.0.0":"2020-01-04T21:08:05.764Z","5.0.1":"2020-02-13T05:14:41.297Z","4.0.1":"2020-02-13T05:25:24.341Z","3.1.2":"2020-02-13T05:30:16.907Z","6.0.0":"2022-05-09T02:53:03.261Z","6.0.1":"2023-02-11T19:40:04.356Z"},"bugs":{"url":"https://github.com/hapijs/ammo/issues"},"license":"BSD-3-Clause","homepage":"https://github.com/hapijs/ammo#readme","keywords":["http","range","utilities"],"repository":{"url":"git://github.com/hapijs/ammo.git","type":"git"},"description":"HTTP Range processing utilities","maintainers":[{"email":"quitlahok@gmail.com","name":"nlf"},{"email":"devinivy@gmail.com","name":"devinivy"},{"email":"wpreul@gmail.com","name":"wyatt"},{"email":"lloyd.benson@gmail.com","name":"lloydbenson"},{"email":"cjihrig@gmail.com","name":"cjihrig"},{"email":"nicolas@morel.io","name":"marsup"}],"readme":"<a href=\"https://hapi.dev\"><img src=\"https://raw.githubusercontent.com/hapijs/assets/master/images/family.png\" width=\"180px\" align=\"right\" /></a>\n\n# @hapi/ammo\n\n#### HTTP Range processing utilities.\n\n**ammo** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.\n\n### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support\n\n## Useful resources\n\n- [Documentation and API](https://hapi.dev/family/ammo/)\n- [Versions status](https://hapi.dev/resources/status/#ammo) (builds, dependencies, node versions, licenses, eol)\n- [Changelog](https://hapi.dev/family/ammo/changelog/)\n- [Project policies](https://hapi.dev/policies/)\n- [Free and commercial support options](https://hapi.dev/support/)\n\n","readmeFilename":"README.md"}