You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
997 B

{
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"name": "block-stream",
"description": "a stream of blocks",
"version": "0.0.6",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/block-stream.git"
},
"engines": {
"node": "0.4 || >=0.5.8"
},
"main": "block-stream.js",
"dependencies": {
"inherits": "~1.0.0"
},
"devDependencies": {
"tap": "0.x"
},
"scripts": {
"test": "tap test/"
},
"license": "BSD",
"readme": "# block-stream\n\nA stream of blocks.\n\nWrite data into it, and it'll output data in buffer blocks the size you\nspecify, padding with zeroes if necessary.\n\n```javascript\nvar block = new BlockStream(512)\nfs.createReadStream(\"some-file\").pipe(block)\nblock.pipe(fs.createWriteStream(\"block-file\"))\n```\n\nWhen `.end()` or `.flush()` is called, it'll pad the block with zeroes.\n",
"_id": "block-stream@0.0.6",
"_from": "block-stream@*"
}