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.
 
 
 
 
 
 

35 lines
1.1 KiB

{
"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.7",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/block-stream.git"
},
"engines": {
"node": "0.4 || >=0.5.8"
},
"main": "block-stream.js",
"dependencies": {
"inherits": "~2.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",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/isaacs/block-stream/issues"
},
"_id": "block-stream@0.0.7",
"_from": "block-stream@latest"
}