{"_id":"dicer","_rev":"2007709","name":"dicer","description":"A very fast streaming multipart parser for node.js","dist-tags":{"latest":"0.3.1"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"time":{"modified":"2021-12-19T19:16:17.000Z","created":"2013-03-05T00:08:45.148Z","0.3.1":"2021-12-19T19:14:54.059Z","0.3.0":"2019-01-09T23:20:14.786Z","0.2.5":"2015-11-15T16:57:23.016Z","0.2.4":"2015-03-20T20:23:59.562Z","0.2.3":"2014-02-26T20:11:03.473Z","0.2.2":"2014-02-23T21:03:39.552Z","0.2.1":"2014-02-23T20:23:06.307Z","0.2.0":"2014-02-23T19:29:05.941Z","0.1.6":"2013-12-12T01:04:38.892Z","0.1.5":"2013-11-06T15:55:32.287Z","0.1.4":"2013-11-05T13:48:22.160Z","0.1.3":"2013-05-29T16:59:53.071Z","0.1.2":"2013-05-29T03:29:59.491Z","0.1.1":"2013-04-21T00:37:15.783Z","0.1.0":"2013-04-18T22:36:53.111Z","0.0.5":"2013-04-15T04:25:19.119Z","0.0.4":"2013-04-14T17:49:22.930Z","0.0.3":"2013-04-07T20:47:39.069Z","0.0.2":"2013-03-05T00:33:16.872Z","0.0.1":"2013-03-05T00:08:45.148Z"},"users":{"coverslide":true,"oleg_tsyba":true,"mojaray2k":true,"sak360":true,"hexcola":true},"author":{"name":"Brian White","email":"mscdex@mscdex.net"},"repository":{"type":"git","url":"git+ssh://git@github.com/mscdex/dicer.git"},"versions":{"0.3.1":{"name":"dicer","version":"0.3.1","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer.js","dependencies":{"streamsearch":"^1.1.0"},"devDependencies":{"@mscdex/eslint-config":"^1.1.0","eslint":"^7.32.0"},"scripts":{"test":"node test/test.js","lint":"eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib test","lint:fix":"npm run lint -- --fix"},"engines":{"node":">=10.0.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"git+ssh://git@github.com/mscdex/dicer.git"},"_resolved":"","_integrity":"","_from":"https://github.com/mscdex/dicer/tarball/v0.3.1","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer#readme","_id":"dicer@0.3.1","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"shasum":"abf28921e3475bc5e801e74e0159fd94f927ba97","size":12209,"noattachment":false,"key":"/dicer/-/dicer-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.3.1.tgz"},"_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"directories":{},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dicer_0.3.1_1639941293920_0.3047678125651829"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:15:25.731Z","publish_time":1639941294059,"_cnpm_publish_time":1639941294059},"0.3.0":{"name":"dicer","version":"0.3.0","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=4.5.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"git+ssh://git@github.com/mscdex/dicer.git"},"_resolved":"","_integrity":"","_from":"https://github.com/mscdex/dicer/tarball/v0.3.0","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer#readme","_id":"dicer@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"dist":{"shasum":"eacd98b3bfbf92e8ab5c2fdb71aaac44bb06b872","size":14563,"noattachment":false,"key":"/dicer/-/dicer-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.3.0.tgz"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dicer_0.3.0_1547076014634_0.003573188182935505"},"_hasShrinkwrap":false,"publish_time":1547076014786,"_cnpm_publish_time":1547076014786},"0.2.5":{"name":"dicer","version":"0.2.5","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"git+ssh://git@github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer#readme","_id":"dicer@0.2.5","_shasum":"5996c086bb33218c812c090bddc09cd12facb70f","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.5","_from":"https://github.com/mscdex/dicer/tarball/v0.2.5","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"dist":{"shasum":"5996c086bb33218c812c090bddc09cd12facb70f","size":14574,"noattachment":false,"key":"/dicer/-/dicer-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.5.tgz"},"directories":{},"publish_time":1447606643016,"_cnpm_publish_time":1447606643016,"_hasShrinkwrap":false},"0.2.4":{"name":"dicer","version":"0.2.4","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.2.4","_shasum":"5b5599ca27f661fa08f02ccecb355b998289f0d3","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.4","_from":"https://github.com/mscdex/dicer/tarball/v0.2.4","_npmVersion":"2.1.16","_nodeVersion":"0.10.31","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"dist":{"shasum":"5b5599ca27f661fa08f02ccecb355b998289f0d3","size":14179,"noattachment":false,"key":"/dicer/-/dicer-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.4.tgz"},"directories":{},"publish_time":1426883039562,"_cnpm_publish_time":1426883039562,"_hasShrinkwrap":false},"0.2.3":{"name":"dicer","version":"0.2.3","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.2.3","dist":{"shasum":"f00281189a55c2351ef80490a4fe9fb2c59c4939","size":13196,"noattachment":false,"key":"/dicer/-/dicer-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.3.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.2.3","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.3","_npmVersion":"1.4.3","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1393445463473,"_cnpm_publish_time":1393445463473,"_hasShrinkwrap":false},"0.2.2":{"name":"dicer","version":"0.2.2","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.2.2","dist":{"shasum":"0905df5a8a6a1f91e9f60695e90d6d76768b97ed","size":12993,"noattachment":false,"key":"/dicer/-/dicer-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.2.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.2.2","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.2","_npmVersion":"1.4.3","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1393189419552,"_cnpm_publish_time":1393189419552,"_hasShrinkwrap":false},"0.2.1":{"name":"dicer","version":"0.2.1","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.2.1","dist":{"shasum":"e021d6aadeaac4d829e8a789cd7eca06bd16ee7d","size":12986,"noattachment":false,"key":"/dicer/-/dicer-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.1.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.2.1","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.1","_npmVersion":"1.4.3","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1393186986307,"_cnpm_publish_time":1393186986307,"_hasShrinkwrap":false},"0.2.0":{"name":"dicer","version":"0.2.0","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.2.0","dist":{"shasum":"ae8d7f3f6d7c8d6b78593b22b9dfab74360919d2","size":12989,"noattachment":false,"key":"/dicer/-/dicer-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.2.0.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.2.0","_resolved":"https://github.com/mscdex/dicer/tarball/v0.2.0","_npmVersion":"1.4.3","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1393183745941,"_cnpm_publish_time":1393183745941,"_hasShrinkwrap":false},"0.1.6":{"name":"dicer","version":"0.1.6","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"homepage":"https://github.com/mscdex/dicer","_id":"dicer@0.1.6","dist":{"shasum":"80c074c3cd75438f119391dde1b50f62e5554e43","size":11205,"noattachment":false,"key":"/dicer/-/dicer-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.6.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.6","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.6","_npmVersion":"1.3.14","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1386810278892,"_cnpm_publish_time":1386810278892,"_hasShrinkwrap":false},"0.1.5":{"name":"dicer","version":"0.1.5","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"_id":"dicer@0.1.5","dist":{"shasum":"18d465fa8212cb6ef7cd30a8df14b7b5b073fae3","size":11187,"noattachment":false,"key":"/dicer/-/dicer-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.5.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.5","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.5","_npmVersion":"1.3.11","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1383753332287,"_cnpm_publish_time":1383753332287,"_hasShrinkwrap":false},"0.1.4":{"name":"dicer","version":"0.1.4","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"1.1.x"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"_id":"dicer@0.1.4","dist":{"shasum":"dba531a1836e7bebaed0754abee33f5282eff86f","size":11193,"noattachment":false,"key":"/dicer/-/dicer-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.4.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.4","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.4","_npmVersion":"1.3.11","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1383659302160,"_cnpm_publish_time":1383659302160,"_hasShrinkwrap":false},"0.1.3":{"name":"dicer","version":"0.1.3","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"*"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"_id":"dicer@0.1.3","dist":{"shasum":"9841fee51d30cdb2dd14659ee48436b5b11828ee","size":10720,"noattachment":false,"key":"/dicer/-/dicer-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.3.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.3","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.3","_npmVersion":"1.2.23","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1369846793071,"_cnpm_publish_time":1369846793071,"_hasShrinkwrap":false},"0.1.2":{"name":"dicer","version":"0.1.2","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"*"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/dicer/issues"},"_id":"dicer@0.1.2","dist":{"shasum":"4156a338b5147e3249c25fe06a3011bd85e55d77","size":10532,"noattachment":false,"key":"/dicer/-/dicer-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.2.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.2","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.2","_npmVersion":"1.2.23","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1369798199491,"_cnpm_publish_time":1369798199491,"_hasShrinkwrap":false},"0.1.1":{"name":"dicer","version":"0.1.1","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"*"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.1.1","dist":{"shasum":"2617a741418465a46e60d2fbeab559c9e5800d32","size":10378,"noattachment":false,"key":"/dicer/-/dicer-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.1.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.1","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.1","_npmVersion":"1.2.18","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1366504635783,"_cnpm_publish_time":1366504635783,"_hasShrinkwrap":false},"0.1.0":{"name":"dicer","version":"0.1.0","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2","readable-stream":"*"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.1.0","dist":{"shasum":"82c8bcb029529d072758a42a96999c764e77b10f","size":10075,"noattachment":false,"key":"/dicer/-/dicer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.1.0.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.1.0","_resolved":"https://github.com/mscdex/dicer/tarball/v0.1.0","_npmVersion":"1.2.18","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1366324613111,"_cnpm_publish_time":1366324613111,"_hasShrinkwrap":false},"0.0.5":{"name":"dicer","version":"0.0.5","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.0.5","dist":{"shasum":"7897c6cf0229d768843ab37b952a16621938ba91","size":10502,"noattachment":false,"key":"/dicer/-/dicer-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.0.5.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.0.5","_resolved":"https://github.com/mscdex/dicer/tarball/v0.0.5","_npmVersion":"1.2.18","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1365999919119,"_cnpm_publish_time":1365999919119,"_hasShrinkwrap":false},"0.0.4":{"name":"dicer","version":"0.0.4","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"0.1.2"},"scripts":{"test":"node test/test.js"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.0.4","dist":{"shasum":"19f0c5c501871cc3622f575ef537d5903f443592","size":9814,"noattachment":false,"key":"/dicer/-/dicer-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.0.4.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.0.4","_resolved":"https://github.com/mscdex/dicer/tarball/v0.0.4","_npmVersion":"1.2.18","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1365961762930,"_cnpm_publish_time":1365961762930,"_hasShrinkwrap":false},"0.0.3":{"name":"dicer","version":"0.0.3","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"*"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.0.3","dist":{"shasum":"afb76f112ff7173384a1e751a0a0519bfa2f212f","size":4174,"noattachment":false,"key":"/dicer/-/dicer-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.0.3.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.0.3","_resolved":"https://github.com/mscdex/dicer/tarball/v0.0.3","scripts":{},"_npmVersion":"1.2.17","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1365367659069,"_cnpm_publish_time":1365367659069,"_hasShrinkwrap":false},"0.0.2":{"name":"dicer","version":"0.0.2","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","dependencies":{"streamsearch":"*"},"engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.0.2","dist":{"shasum":"09e0200a469e2c5216d947d026ef80c759d37084","size":4123,"noattachment":false,"key":"/dicer/-/dicer-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.0.2.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.0.2","_resolved":"https://github.com/mscdex/dicer/tarball/v0.0.2","scripts":{},"_npmVersion":"1.2.11","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1362443596872,"_cnpm_publish_time":1362443596872,"_hasShrinkwrap":false},"0.0.1":{"name":"dicer","version":"0.0.1","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A very fast streaming multipart parser for node.js","main":"./lib/Dicer","engines":{"node":">=0.8.0"},"keywords":["parser","parse","parsing","multipart","form-data","streaming"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/dicer/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/dicer.git"},"readmeFilename":"README.md","_id":"dicer@0.0.1","dist":{"shasum":"a49781203a81b776eebde145289441088da51de5","size":4071,"noattachment":false,"key":"/dicer/-/dicer-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dicer/download/dicer-0.0.1.tgz"},"_from":"https://github.com/mscdex/dicer/tarball/v0.0.1","_resolved":"https://github.com/mscdex/dicer/tarball/v0.0.1","scripts":{},"_npmVersion":"1.2.11","_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"directories":{},"publish_time":1362442125148,"_cnpm_publish_time":1362442125148,"_hasShrinkwrap":false}},"readme":"\nDescription\n===========\n\nA very fast streaming multipart parser for node.js.\n\nBenchmarks can be found [here](https://github.com/mscdex/dicer/wiki/Benchmarks).\n\n\nRequirements\n============\n\n* [node.js](http://nodejs.org/) -- v4.5.0 or newer\n\n\nInstall\n============\n\n    npm install dicer\n\n\nExamples\n========\n\n* Parse an HTTP form upload\n\n```javascript\nvar inspect = require('util').inspect,\n    http = require('http');\n\nvar Dicer = require('dicer');\n\n    // quick and dirty way to parse multipart boundary\nvar RE_BOUNDARY = /^multipart\\/.+?(?:; boundary=(?:(?:\"(.+)\")|(?:([^\\s]+))))$/i,\n    HTML = Buffer.from('<html><head></head><body>\\\n                        <form method=\"POST\" enctype=\"multipart/form-data\">\\\n                         <input type=\"text\" name=\"textfield\"><br />\\\n                         <input type=\"file\" name=\"filefield\"><br />\\\n                         <input type=\"submit\">\\\n                        </form>\\\n                        </body></html>'),\n    PORT = 8080;\n\nhttp.createServer(function(req, res) {\n  var m;\n  if (req.method === 'POST'\n      && req.headers['content-type']\n      && (m = RE_BOUNDARY.exec(req.headers['content-type']))) {\n    var d = new Dicer({ boundary: m[1] || m[2] });\n\n    d.on('part', function(p) {\n      console.log('New part!');\n      p.on('header', function(header) {\n        for (var h in header) {\n          console.log('Part header: k: ' + inspect(h)\n                      + ', v: ' + inspect(header[h]));\n        }\n      });\n      p.on('data', function(data) {\n        console.log('Part data: ' + inspect(data.toString()));\n      });\n      p.on('end', function() {\n        console.log('End of part\\n');\n      });\n    });\n    d.on('finish', function() {\n      console.log('End of parts');\n      res.writeHead(200);\n      res.end('Form submission successful!');\n    });\n    req.pipe(d);\n  } else if (req.method === 'GET' && req.url === '/') {\n    res.writeHead(200);\n    res.end(HTML);\n  } else {\n    res.writeHead(404);\n    res.end();\n  }\n}).listen(PORT, function() {\n  console.log('Listening for requests on port ' + PORT);\n});\n```\n\n\nAPI\n===\n\n_Dicer_ is a _WritableStream_\n\nDicer (special) events\n----------------------\n\n* **finish**() - Emitted when all parts have been parsed and the Dicer instance has been ended.\n\n* **part**(< _PartStream_ >stream) - Emitted when a new part has been found.\n\n* **preamble**(< _PartStream_ >stream) - Emitted for preamble if you should happen to need it (can usually be ignored).\n\n* **trailer**(< _Buffer_ >data) - Emitted when trailing data was found after the terminating boundary (as with the preamble, this can usually be ignored too).\n\n\nDicer methods\n-------------\n\n* **(constructor)**(< _object_ >config) - Creates and returns a new Dicer instance with the following valid `config` settings:\n\n    * **boundary** - _string_ - This is the boundary used to detect the beginning of a new part.\n\n    * **headerFirst** - _boolean_ - If true, preamble header parsing will be performed first.\n\n    * **maxHeaderPairs** - _integer_ - The maximum number of header key=>value pairs to parse **Default:** 2000 (same as node's http).\n\n* **setBoundary**(< _string_ >boundary) - _(void)_ - Sets the boundary to use for parsing and performs some initialization needed for parsing. You should only need to use this if you set `headerFirst` to true in the constructor and are parsing the boundary from the preamble header.\n\n\n\n_PartStream_ is a _ReadableStream_\n\nPartStream (special) events\n---------------------------\n\n* **header**(< _object_ >header) - An object containing the header for this particular part. Each property value is an _array_ of one or more string values.\n","_attachments":{},"homepage":"https://github.com/mscdex/dicer#readme","bugs":{"url":"https://github.com/mscdex/dicer/issues"}}