{"_id":"content","_rev":"4645664","name":"content","description":"HTTP Content-* headers parsing","dist-tags":{"latest":"4.0.6","lts":"3.0.7","v3-legacy":"3.1.2"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"time":{"modified":"2026-04-10T20:15:25.000Z","created":"2014-10-02T18:03:22.147Z","3.1.2":"2024-01-06T09:49:50.516Z","4.0.6":"2018-11-03T00:24:17.458Z","4.0.5":"2018-03-31T00:02:43.112Z","3.0.7":"2018-03-01T09:06:06.637Z","4.0.4":"2018-03-01T08:58:41.616Z","4.0.3":"2017-11-03T20:02:48.373Z","4.0.2":"2017-11-03T07:04:45.206Z","4.0.1":"2017-09-26T09:06:46.179Z","4.0.0":"2017-09-26T00:11:23.182Z","3.0.6":"2017-09-12T19:30:33.912Z","3.0.5":"2017-07-20T07:55:57.080Z","3.0.4":"2017-05-28T06:08:41.159Z","3.0.3":"2016-10-26T17:51:05.514Z","3.0.2":"2016-07-28T19:29:36.500Z","3.0.1":"2016-05-07T12:36:21.219Z","3.0.0":"2015-11-03T04:37:11.289Z","2.0.0":"2015-10-22T20:24:36.146Z","1.0.2":"2015-06-24T09:36:48.727Z","1.0.1":"2014-10-02T21:32:03.539Z","1.0.0":"2014-10-02T18:03:22.147Z"},"users":{},"repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"versions":{"3.1.2":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.1.2","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"engines":{"node":">=6.0.0"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L -l","test-cov-html":"lab -a code -r html -o coverage.html -l"},"license":"SEE LICENSE IN LICENSE.md","_id":"content@3.1.2","readmeFilename":"README.md","gitHead":"dfbb048373a93669262b6989927258440cac7546","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_nodeVersion":"18.18.1","_npmVersion":"10.2.1","dist":{"shasum":"4f9461a0158b5af69987d3e268d3a531d2a60434","size":2257,"noattachment":false,"key":"/content/-/content-3.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.1.2.tgz"},"_npmUser":{"name":"nargonath","email":"jonas.pauthier@gmail.com"},"directories":{},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content_3.1.2_1704534589879_0.6631398882807893"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/content. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues.","_cnpmcore_publish_time":"2024-01-06T09:49:50.516Z","publish_time":1704534590516,"_source_registry_name":"default","_cnpm_publish_time":1704534590516},"4.0.6":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.6","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"dependencies":{"boom":"7.x.x"},"devDependencies":{"code":"5.x.x","lab":"17.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2fec92ce429168f6886261fb7103c6e2c0d95773","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"76ffd96c5cbccf64fe3923cbb9c48b8bc04b273e","size":3291,"noattachment":false,"key":"/content/-/content-4.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.6.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content_4.0.6_1541204657321_0.2945492074357128"},"_hasShrinkwrap":false,"publish_time":1541204657458,"deprecated":"This module has moved and is now available at @hapi/content. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.","_cnpm_publish_time":1541204657458,"_cnpmcore_publish_time":"2021-12-16T20:17:52.063Z"},"4.0.5":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.5","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x"},"devDependencies":{"code":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"94f6a07f4223a2c41f576efe25c10c878dcb9aff","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.5","_npmVersion":"5.8.0","_nodeVersion":"8.9.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"bc547deabc889ab69bce17faf3585c29f4c41bf2","size":3356,"noattachment":false,"key":"/content/-/content-4.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.5.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content_4.0.5_1522454562946_0.032117756191242464"},"_hasShrinkwrap":false,"publish_time":1522454563112,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1522454563112,"_cnpmcore_publish_time":"2021-12-16T20:17:52.274Z"},"3.0.7":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.7","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.5.0"},"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","readmeFilename":"README.md","gitHead":"dd3901f1732a24ea902452e0bc40f0ccb09ebf46","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.7","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"0cbb88e82702d35ccf59800b8add609bb5c1dfc2","size":3421,"noattachment":false,"key":"/content/-/content-3.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.7.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content_3.0.7_1519895166561_0.6134984029140398"},"_hasShrinkwrap":false,"publish_time":1519895166637,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1519895166637,"_cnpmcore_publish_time":"2021-12-16T20:17:52.692Z"},"4.0.4":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.4","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x"},"devDependencies":{"code":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"c9baa4c0d1d24d3bea6a59bfe28b913015973de7","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"2941609c89593ed2e1504d72c9a28e9516f163e0","size":3383,"noattachment":false,"key":"/content/-/content-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.4.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content_4.0.4_1519894721522_0.9198135100706677"},"_hasShrinkwrap":false,"publish_time":1519894721616,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1519894721616,"_cnpmcore_publish_time":"2021-12-16T20:17:52.998Z"},"4.0.3":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.3","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x"},"devDependencies":{"code":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2fafff7965dcb1e90f40203c5857297724ecb31c","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"2224e0449e4258617bc5f7fb4dc2f17f321d21fc","size":3343,"noattachment":false,"key":"/content/-/content-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.3.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-4.0.3.tgz_1509739368284_0.6496384595520794"},"directories":{},"publish_time":1509739368373,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1509739368373,"_cnpmcore_publish_time":"2021-12-16T20:17:53.214Z"},"4.0.2":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.2","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x"},"devDependencies":{"code":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"80af6db05b5ef9dbecda720ef0dd0d7adb7dc175","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"c29935ebec83734c744460f9527b9eccd8889cf1","size":3392,"noattachment":false,"key":"/content/-/content-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.2.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-4.0.2.tgz_1509692685150_0.8441336676478386"},"directories":{},"publish_time":1509692685206,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1509692685206,"_cnpmcore_publish_time":"2021-12-16T20:17:53.450Z"},"4.0.1":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.1","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"6.x.x"},"devDependencies":{"code":"5.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"c310d682f15f78f535c57e73ad715673fcf0af3c","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"9d616b447ef129f1c55875f2e0d2843e0b9fb6df","size":3387,"noattachment":false,"key":"/content/-/content-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-4.0.1.tgz_1506416806106_0.09173831925727427"},"directories":{},"publish_time":1506416806179,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1506416806179,"_cnpmcore_publish_time":"2021-12-16T20:17:53.666Z"},"4.0.0":{"name":"content","description":"HTTP Content-* headers parsing","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"5.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"c90b153e4b09098ea11d939025af42ac95950dd9","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@4.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"281615e282680803ab5151a22df4e0ba77a162fc","size":3379,"noattachment":false,"key":"/content/-/content-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-4.0.0.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-4.0.0.tgz_1506384683110_0.7760266033001244"},"directories":{},"publish_time":1506384683182,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1506384683182,"_cnpmcore_publish_time":"2021-12-16T20:17:53.861Z"},"3.0.6":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.6","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.5.0"},"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"76ca62917c570916ffd137e7e02715bd7a8026ba","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.6","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"9c2e301e9ae515ed65a4b877d78aa5659bb1b809","size":3377,"noattachment":false,"key":"/content/-/content-3.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.6.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-3.0.6.tgz_1505244633804_0.5250827623531222"},"directories":{},"publish_time":1505244633912,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1505244633912,"_cnpmcore_publish_time":"2021-12-16T20:17:54.052Z"},"3.0.5":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.5","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.5.0"},"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"e7f20cc6ff35b5c9787f3ebeebfe82a52f70a50d","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"9e147dc7c838c4de9483096845ddb4de455ec509","size":3384,"noattachment":false,"key":"/content/-/content-3.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.5.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-3.0.5.tgz_1500537356931_0.9760808555874974"},"directories":{},"publish_time":1500537357080,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1500537357080,"_cnpmcore_publish_time":"2021-12-16T20:17:54.287Z"},"3.0.4":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.4","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.5.0"},"dependencies":{"boom":"5.x.x"},"devDependencies":{"code":"4.x.x","lab":"13.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"de4e15315e0c3814245d1212264ccd15490c7239","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.4","_shasum":"ca3dde04480f12519b71526ec44bd488ddfb3fef","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"ca3dde04480f12519b71526ec44bd488ddfb3fef","size":3373,"noattachment":false,"key":"/content/-/content-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.4.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/content-3.0.4.tgz_1495951721021_0.26546591939404607"},"directories":{},"publish_time":1495951721159,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1495951721159,"_cnpmcore_publish_time":"2021-12-16T20:17:54.494Z"},"3.0.3":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.3","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.5.0"},"dependencies":{"boom":"4.x.x"},"devDependencies":{"code":"4.x.x","lab":"11.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"7496a0fdafb356ff96a61d866cf56e37fed8bad0","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.3","_shasum":"000f8a01371b95c66afe99be9390fa6cb91aa87a","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"ruiquelhas","email":"rfpquelhas@gmail.com"},"dist":{"shasum":"000f8a01371b95c66afe99be9390fa6cb91aa87a","size":3378,"noattachment":false,"key":"/content/-/content-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.3.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/content-3.0.3.tgz_1477504263604_0.07744237035512924"},"directories":{},"publish_time":1477504265514,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1477504265514,"_cnpmcore_publish_time":"2021-12-16T20:17:54.725Z"},"3.0.2":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.2","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x"},"devDependencies":{"code":"3.x.x","lab":"10.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"56e53200ec0792391f377da6398c399285362fdf","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.2","_shasum":"f1d8b4c3abb21ea4c0e2173f43ac0229a4ed6d1c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"f1d8b4c3abb21ea4c0e2173f43ac0229a4ed6d1c","size":3382,"noattachment":false,"key":"/content/-/content-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.2.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/content-3.0.2.tgz_1469734176252_0.41202179272659123"},"directories":{},"publish_time":1469734176500,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1469734176500,"_cnpmcore_publish_time":"2021-12-16T20:17:54.921Z"},"3.0.1":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.1","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x"},"devDependencies":{"code":"2.x.x","lab":"10.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"cb5684aa14d47fbbcc396635c3697f1d7a50df5c","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.1","_shasum":"e4f5f048a4b0ea43220c41c00cd3895ac065f2ca","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ruiquelhas","email":"rfpquelhas@gmail.com"},"dist":{"shasum":"e4f5f048a4b0ea43220c41c00cd3895ac065f2ca","size":4541,"noattachment":false,"key":"/content/-/content-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.1.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/content-3.0.1.tgz_1462624580269_0.5241101919673383"},"directories":{},"publish_time":1462624581219,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1462624581219,"_cnpmcore_publish_time":"2021-12-16T20:17:55.157Z"},"3.0.0":{"name":"content","description":"HTTP Content-* headers parsing","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x"},"devDependencies":{"code":"2.x.x","lab":"7.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"83be281b8d9e9392ca26768802a4b215ef622b97","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@3.0.0","_shasum":"fb1a668214712ca3dd18a4ecbb0f5fe71fb7e6cd","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"fb1a668214712ca3dd18a4ecbb0f5fe71fb7e6cd","size":4563,"noattachment":false,"key":"/content/-/content-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-3.0.0.tgz"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"directories":{},"publish_time":1446525431289,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1446525431289,"_cnpmcore_publish_time":"2021-12-16T20:17:55.380Z"},"2.0.0":{"name":"content","description":"HTTP Content-* headers parsing","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=4.2"},"dependencies":{"boom":"2.x.x"},"devDependencies":{"lab":"6.x.x","code":"1.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"e53f4b2ab59320ceb5abe923ad1b134359ecdd61","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@2.0.0","_shasum":"71a77c8c6eb84c18da188d79871b879223d7083f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"ruiquelhas","email":"rfpquelhas@gmail.com"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"dist":{"shasum":"71a77c8c6eb84c18da188d79871b879223d7083f","size":4506,"noattachment":false,"key":"/content/-/content-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-2.0.0.tgz"},"directories":{},"publish_time":1445545476146,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1445545476146,"_cnpmcore_publish_time":"2021-12-16T20:17:55.590Z"},"1.0.2":{"name":"content","description":"HTTP Content-* headers parsing","version":"1.0.2","repository":{"type":"git","url":"git://github.com/hapijs/content.git"},"main":"lib/index.js","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-tap":"lab -a code -r tap -o tests.tap","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"117086b6d236cdfd33cdae7dfc65a19d5d01f121","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content#readme","_id":"content@1.0.2","_shasum":"cb7edf32afef17c48acfdbd21ff98c23315ae824","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.10.37","_npmUser":{"name":"ruiquelhas","email":"rfpquelhas@gmail.com"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"dist":{"shasum":"cb7edf32afef17c48acfdbd21ff98c23315ae824","size":4535,"noattachment":false,"key":"/content/-/content-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-1.0.2.tgz"},"directories":{},"publish_time":1435138608727,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1435138608727,"_cnpmcore_publish_time":"2021-12-16T20:17:55.798Z"},"1.0.1":{"name":"content","description":"HTTP Content-* headers parsing","version":"1.0.1","repository":{"type":"git","url":"git://github.com/hapijs/content"},"main":"index","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x"},"devDependencies":{"lab":"4.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/content/raw/master/LICENSE"}],"gitHead":"080acaa4c716c0ec961a90abacc139d2bdd1773d","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content","_id":"content@1.0.1","_shasum":"803eb4b3b7895460fd8c69c684c7754669af1ba1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"dist":{"shasum":"803eb4b3b7895460fd8c69c684c7754669af1ba1","size":4159,"noattachment":false,"key":"/content/-/content-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-1.0.1.tgz"},"directories":{},"publish_time":1412285523539,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1412285523539,"_cnpmcore_publish_time":"2021-12-16T20:17:56.040Z"},"1.0.0":{"name":"content","description":"HTTP Content-* headers parsing","version":"1.0.0","repository":{"type":"git","url":"git://github.com/hapijs/content"},"main":"index","keywords":["HTTP","header","content","content-type","content-disposition"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x"},"devDependencies":{"lab":"4.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/content/raw/master/LICENSE"}],"gitHead":"21980bb1a9a9e91ddda2ee44b327c33564442b1e","bugs":{"url":"https://github.com/hapijs/content/issues"},"homepage":"https://github.com/hapijs/content","_id":"content@1.0.0","_shasum":"d070bac4b628c689ee01e08e9b7eddaa6a01d265","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"devinivy","email":"devin@bigroomstudios.com"},{"name":"marsup","email":"marsup@gmail.com"},{"name":"nargonath","email":"jonas.pauthier@gmail.com"},{"name":"nlf","email":""}],"dist":{"shasum":"d070bac4b628c689ee01e08e9b7eddaa6a01d265","size":4129,"noattachment":false,"key":"/content/-/content-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/content/download/content-1.0.0.tgz"},"directories":{},"publish_time":1412273002147,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).","_cnpm_publish_time":1412273002147,"_cnpmcore_publish_time":"2021-12-16T20:17:56.297Z"}},"readme":"# content\n\nHTTP Content-* headers parsing.\n\n[![NPM Version](https://badge.fury.io/js/content.svg)](http://badge.fury.io/js/content)\n[![Build Status](https://secure.travis-ci.org/hapijs/content.svg)](http://travis-ci.org/hapijs/content)\n[![Dependencies](https://david-dm.org/hapijs/content.svg)](https://david-dm.org/hapijs/content)\n\nLead Maintainer - [Eran Hammer](https://github.com/hueniverse)\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n    - [`type(header)`](#typeheader)\n    - [`disposition(header)`](#dispositionheader)\n\n## Installation\n\nInstall via [NPM](https://www.npmjs.org).\n\n```\n$ npm install content\n```\n\n## Usage\n\n**content** allows to parse HTTP `Content-*` headers, currently based on the rules established in both [RFC 7231 Section 3.1.1.1](https://tools.ietf.org/html/rfc7231#section-3.1.1.1) and [RFC 6266 Section 4.1](http://tools.ietf.org/html/rfc6266#section-4.1).\n\n### `type(header)`\n\nGenerates an object containing the associated mime-type and the boundary (if specified).\n\n```js\nContent.type('application/json; some=property; and=\"another\"');\n// { mime: 'application/json' }\n\nContent.type('application/json; boundary=asdf');\n// { mime: 'application/json', boundary: 'asdf' }\n```\n\nIf the header is invalid (malformed) or missing required data, such as a `multipart/form-data` header missing its `boundary`, it returns an HTTP `Bad Request` error.\n\n### `disposition(header)`\n\nGenerates an object containing the details related to the `Content-Disposition` header for the `form-data` content type with support for `utf8` encoding.\n\n```js\nContent.disposition('form-data; name=\"file\"; filename=file.jpg');\n// { name: 'file', filename: 'file.jpg' }\n\nContent.disposition('form-data; name=\"file\"; filename*=utf-8\\'en\\'with%20space');\n// { name: 'file', filename: 'with space' }\n```\n\nIf the header is invalid (malformed, invalid or missing properties) or is empty/missing, it returns an explanatory error.\n\n","_attachments":{},"homepage":"https://github.com/hapijs/content#readme","bugs":{"url":"https://github.com/hapijs/content/issues"},"license":"BSD-3-Clause"}