{"_id":"3h-join","_rev":"10-0fe87ac95edaca05da369e809677bae7","name":"3h-join","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"3h-join","version":"1.0.0","description":"A simple lib to join the body of streams ( and maybe parse it ).","repository":{"type":"GitHub","url":"git+https://github.com/huang2002/3h-join.git"},"main":"3h-join.js","scripts":{"test":"node test/test.js"},"keywords":["body","stream","join","3h"],"author":{"name":"3h"},"license":"MIT","gitHead":"5c96375ce0ecab0c247f1be49e2acd4189bf7321","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","_id":"3h-join@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-qweQ8R2xWde4Sp+Uy7atcS1ec/VKFIGoyc2LJITEvRz89MnUv/cgb2nigFw3X/8Gh1YNrNIs0LrFhBt38QMMnQ==","shasum":"8436cb2564ab610f8d10ca3eb0bea3ccbaaf7c96","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-1.0.0.tgz","fileCount":4,"unpackedSize":5343,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICaV1DslhsgC2NWqt7ryOVUeGmMVdQFbq6+6RZfVVMhiAiAkeXWcFGFjAS7rvgwjY8ml0EiwsZuos15gOjg1gs3Akg=="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_1.0.0_1518098395838_0.398504302683369"},"_hasShrinkwrap":false},"1.0.1":{"name":"3h-join","version":"1.0.1","description":"A simple lib to join the body of streams ( and maybe parse it ).","repository":{"type":"GitHub","url":"git+https://github.com/huang2002/3h-join.git"},"main":"3h-join.js","scripts":{"test":"node test/test.js"},"keywords":["body","stream","join","3h"],"author":{"name":"3h"},"license":"MIT","gitHead":"c6253c68706f7c6268adb6e8ecc359ef3148da88","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","_id":"3h-join@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-Huq8lSX8ESL43t1ULBeQ13hVnakVelH5PzUs4gyGA5VMCQ9a4nsT7vuqSjQlchjoCa7K8lPPJU9/rlpu6SKlfQ==","shasum":"af336899a67c292386c54590b6dd321803216760","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-1.0.1.tgz","fileCount":4,"unpackedSize":5249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8WUpA2moIM/t8e+nvxehmuCqhy40zSasRNUuy0ujbBAiEAjmprJxlcNWk6I4jSL6JwpWNTlDRrEB+UkXgJIMSzTdg="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_1.0.1_1518229393091_0.008280744578520682"},"_hasShrinkwrap":false},"1.0.2":{"name":"3h-join","version":"1.0.2","description":"A simple lib to join the body of streams ( and maybe parse it ).","types":"3h-join.d.ts","repository":{"type":"GitHub","url":"git+https://github.com/huang2002/3h-join.git"},"main":"3h-join.js","scripts":{"test":"node test/test.js"},"keywords":["body","stream","join","3h"],"author":{"name":"3h"},"license":"MIT","devDependencies":{"@types/node":"^9.4.6"},"gitHead":"e4eeb14ca95e81454d29d8933fb095559d3a7502","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","_id":"3h-join@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-RdsK7AVO84lj+gperkJIl4Vw6jyayps1V4UGkMbNjrwmCjLLhuy4vwxR6owu0D8rRuOb7Hgnn8gjJp9UcBnp6Q==","shasum":"5b8acdc6a0bea0f2f6a5c3e0026a2d6c06be97a6","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-1.0.2.tgz","fileCount":5,"unpackedSize":5823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyi/icp8A3XG3gnkm5duSFIlht3dGo7iR89FKKjfm/1AIgaVvVoqufEuyq4C93Kb6sF/MmTWwwunwHyqEGM/rm0tI="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_1.0.2_1519994817932_0.22331894326399881"},"_hasShrinkwrap":false},"1.0.3":{"name":"3h-join","version":"1.0.3","description":"A simple lib to join the body of streams ( and maybe parse it ).","types":"3h-join.d.ts","repository":{"type":"GitHub","url":"git+https://github.com/huang2002/3h-join.git"},"main":"3h-join.js","scripts":{"test":"node test/test.js"},"keywords":["body","stream","join","3h"],"author":{"name":"3h"},"license":"MIT","devDependencies":{"@types/node":"^9.4.6"},"gitHead":"a161cba47f8346c41ad4479caf20daa063372433","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","_id":"3h-join@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-y8jwUbLx9gigXyxkKUc8RRkXeUl26ebWAwiRmdJFW4rPMB84h+tDAyZizuP21AFwZ6xQ/HXJddz/JkBdSQE/CQ==","shasum":"b94afd288c1ff9fc9fe81d98dde3ee43f277b158","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-1.0.3.tgz","fileCount":5,"unpackedSize":5816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7DM8CRA9TVsSAnZWagAA2HAP/2w+XolqyD3pAAL5+TW+\nuKCaS9eCLELc4Agmiq7bi8+u/KMiODdswWOZQ2ZvBCadDResH/fH1c/3dHRC\niGEoCPFAI0HF7LMyNtNiKVrsuTl8lLcHwjamT35tuFOJy49z287nhocd+EhA\nGH30T6A6izA4N8XjxlPaydfQ8g2rh+fuzrKczhl+F0wUT4YgXTRtMVg/fGco\nCbChGG9Yq6OdYw5xkKgqgSaYlDdhrzGJwqwWa643tTmBZLWdjoGzjT98pVOq\n6Ph/rKjnU3olvsoULk3f1O9Dh0Ce2R/GXtuX+ns8cqqy0sCXy/MKViJTtnxl\nLo6qBrgE11YxxkrzWTgP7V3HOTE9DcfX73EhgwDEbagLlZe9saOakOEsPbtD\nWoiDCvBd34J0OgTN2TuRFoUZHoGk5OXuLv4nSx80mcbEeI95xhodeZ4l30/9\nQv/ye3/ZGgI/mJX5fk6IlszRmq0FjZO3eH3i4B56DbKqEIe+fRjE0K0e092O\nPoOv0y2oLzEZdvJ9+1gYxVBbjUlu4xlXs2Wc2NapVQQclOtAVNNW+HAH7XZ0\npAJbHmzbz7ioRvz+Bl9KMQv0iHD76oUsClgMFXFuOnsmskWsL/52W4D2aedM\nvV7Ds0RxU+vxs3p+rwipRWjw/YO7KapQJtoZcQNC5r3mqHC902LR3lbFhT56\nIaks\r\n=Bj7+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHz7t0VwNi6nbNx+bVCMETubixCVMEz3BOvszLEhlqSpAiB44m0PLeEgFhhDFJh9LkZECd1z998Uj18kTqndHmIX7Q=="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_1.0.3_1525429051423_0.33992071041714844"},"_hasShrinkwrap":false},"1.0.4":{"name":"3h-join","version":"1.0.4","description":"A simple lib to join the body of streams ( and maybe parse it ).","types":"3h-join.d.ts","repository":{"type":"GitHub","url":"git+https://github.com/huang2002/3h-join.git"},"main":"3h-join.js","scripts":{"test":"node test/test.js"},"keywords":["body","stream","join","3h"],"author":{"name":"3h"},"license":"MIT","devDependencies":{"@types/node":"^9.4.6"},"gitHead":"e7a131f44507c8a4eac2a263cbb468f3cf59721a","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","_id":"3h-join@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-MiiDLzIdjkkuiHTvjWpd1wdm/yfJxv+iUFX6bch9yllVsEguPqQ0Uco9U6bCXy54E7jCw+nPrVeUCCd8M12jUA==","shasum":"ea1128583d3cb0072fc2d578a148ed538e8012be","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-1.0.4.tgz","fileCount":5,"unpackedSize":5816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9js9CRA9TVsSAnZWagAAHwcQAJOukRPf/8mkAgSEtDkW\nrR6+w4Si8gUbxEwqcuS9bgebJIKZ3LJQph1KHUoLYJewvADSb3hriQR944B4\ncxWWBiKYsWLFgqYi9kUfhCzobQo+AOfG/wK/gGnSdgPwIXWH+8tGsCoQFcnQ\nvCs9Hi+1Qpbskyk5YIC9JB3fWdsgtDEY1QMJqFpqFp5c8nKgKHVYiZnW0UAZ\n0PMiHozFRNN7g5Lw0uPR4MB0eSjDvFkYxeyoCTRPbPcJ8U31nR+qh0aOKv9f\njb4yrFNZ2mGODNKkAsJJ2efwdf/MmkmVooFEWWwjkagSH48RHOf/mbwUjCYg\nOUUahXE8rdh1WysVasoSzBJlVooTissz9BqF3hajmzYp1e2/RPkXJMwfzmRK\nLtOfvSM3y0wOgRjZ2rBP4Jm6GjzQzsGJrLaWnXfN/ENhGChzxeFdjVP+MOMJ\nZnLZ5hs2GEfSmTJqzQ5e4qPy47GDC7ymk88pGGEQuBGJdH74f5Q8PlZClVFS\nsCROwLvjGdjYhm/ASPIdMBTBTOIOJCBLYa8rimqWVK0o7/+fj6Doqfhmi5r7\nTloKpTRrdibdIvwWU8YnogAeexf8yItSDc5oYmU3pgcFDvEbquiRaly4ZaoT\ngufdVM15rkVGEkCeRfVB/z6/QHrJdzmzogjv84hDUk964QsA3qscZvXcr85r\nEszv\r\n=1wOh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9n7CXOtheN1Mm93KfFYBngwypwJzIaTv/efMc6U6zBAiBCaU791c9RagjmPKep+Mr1+A5Sdn2UbeBkQeUczG22nQ=="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_1.0.4_1526086460993_0.8308915272145505"},"_hasShrinkwrap":false},"2.0.0":{"name":"3h-join","version":"2.0.0","description":"A stream body parser.","main":"dist/index.js","types":"typings/index.d.ts","scripts":{"test":"node test/test.js","prebuild":"DEL /Q /S dist\\*.* typings\\*.*","build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-join.git"},"keywords":["stream","body","join","parse","parser","text","json","form","urlencoded","3h"],"author":{"name":"3h"},"license":"MIT","bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"homepage":"https://github.com/huang2002/3h-join#readme","devDependencies":{"@types/node":"^10.5.2"},"gitHead":"d4263536921cf5c01ade54ac228abcb60c5ea91f","_id":"3h-join@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.3","_npmUser":{"name":"3h","email":"1340545944@qq.com"},"dist":{"integrity":"sha512-LLPCdTkJlDPwk8KUVZFqGMjy99zKXTzgDDGTiz5FZRw+/Bcop4w899zZRjBJgOATBpDaP3xSerq4YSz8GzE/2Q==","shasum":"ad61fff0ff03bab1237fb582f8258d2d813a4a4d","tarball":"https://registry.npmjs.org/3h-join/-/3h-join-2.0.0.tgz","fileCount":5,"unpackedSize":4692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQgfsCRA9TVsSAnZWagAAQl8QAKAdlc4RI7KRXxC+WSeN\n5qOYvvuUswYixaHenC6e3JSd9UCv74bCuHjgT6rF+BUFyRF2d/PsYSxgqTDz\n368Yo/cnMMe7AT2bEmJi0L9XT8mUDIwgrJhfiOa3Kn7iVodJt6AGSqXMKrT0\nENhJtvtXdo/b7tJ/d7TlbUR3x7lil7Lqlsv/w58DWmY2nQMURhkO0Vvm7MOU\nQbN2V+nD8K0NHPtldjZ1tFsy93iLxtKFBHRSBOL/VAoHtMjbY91siHX2fOHp\nvC4tKbzjUVNNcQTqVko6UA6xsoMMKZYcrkWDxjOm1pstvLZVguR1kDR+0wLO\nNVc3w4xObejm37QadKTeg513sYMIqjcXN+psKRnWJa2eX/q7EQ46rmZaWWnO\nSLOW8Jy8bVKprr+AoUpywk4iv7taFme3aGjjuJfOwvHJFyTLnWkJo/2hkDqZ\n9Wqoh72VaoXeFKRPMUCszP9rT81aB4xefVS8vfdd9B4RVrZCbeiHSXMPjLzb\ncsu5lXp7cMoi27fMlo+cTkrA84HHWmsRqiMXUsR0dReEtoty4C5ACx8QTpaW\nJiz4H9Fkzeavy/FghAsUAt/Je6dJp57RPsHnuA0sGpHUTWchap6NWvqCAH7m\n09l6Ljpn30ArHlTHnyp7JoiGlWpcRQBGxwO6PZPMi8ym/sE5YopN1yu9N4oV\nJWPt\r\n=kj41\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqTkCGgz84g4w6nH5kv7wqd73El9zNejpbINGpYtjHOAiEAvvgonJ3oX7YL1h47ts2P/JTJvpsgbuUgE9bVSPxjpB0="}]},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-join_2.0.0_1531054060907_0.0689264834674761"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-08T13:59:55.838Z","1.0.0":"2018-02-08T13:59:55.948Z","modified":"2022-04-04T10:21:34.456Z","1.0.1":"2018-02-10T02:23:13.144Z","1.0.2":"2018-03-02T12:46:58.824Z","1.0.3":"2018-05-04T10:17:31.475Z","1.0.4":"2018-05-12T00:54:21.060Z","2.0.0":"2018-07-08T12:47:40.981Z"},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"description":"A stream body parser.","homepage":"https://github.com/huang2002/3h-join#readme","keywords":["stream","body","join","parse","parser","text","json","form","urlencoded","3h"],"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-join.git"},"author":{"name":"3h"},"bugs":{"url":"https://github.com/huang2002/3h-join/issues"},"license":"MIT","readme":"# 3h-join\r\n\r\nA stream body parser.\r\n\r\n# Example\r\n\r\n```javascript\r\nconst join = require('3h-join');\r\n\r\nfunction callback(err, data) {\r\n    if (err) {\r\n        console.error('Error while reading stream: ', err);\r\n    } else {\r\n        console.log(`Received: ${JSON.stringify(data)}`);\r\n    }\r\n}\r\n\r\njoin.text({ stream: textStream }, callback);\r\n\r\njoin.json({\r\n    stream: jsonStream,\r\n    // parser: myJSONParser\r\n}, callback);\r\n\r\njoin.form({\r\n    stream: formStream,\r\n    // parser: myFormParser\r\n}, callback);\r\n\r\n```\r\n\r\n# APIs\r\n\r\nSee [`the declaration file`](typings/index.d.ts) to learn the APIs.\r\n","readmeFilename":"README.md","users":{"3h":true}}