memory-stream
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "memory-stream", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Node.js streams implementation for buffered memory writes", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git://github.com/tommydudebreaux/memory-stream.git" | ||
"url": "git://github.com/tommymessbauer/memory-stream.git" | ||
}, | ||
@@ -22,5 +22,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/tommydudebreaux/memory-stream/issues" | ||
"url": "https://github.com/tommymessbauer/memory-stream/issues" | ||
}, | ||
"homepage": "https://github.com/tommydudebreaux/memory-stream", | ||
"homepage": "https://github.com/tommymessbauer/memory-stream", | ||
"dependencies": { | ||
@@ -27,0 +27,0 @@ "readable-stream": "~1.0.26-2" |
@@ -5,1 +5,17 @@ memory-stream | ||
Node.js streams implementation for buffered memory writes. | ||
# Usage | ||
```javascript | ||
var fs = require('fs'); | ||
var MemoryStream = require('memory-stream'); | ||
var rs = fs.createReadStream('source.txt'); | ||
var ws = new MemoryStream(); | ||
ws.on('finish', function() { | ||
console.log(ws.toString()); | ||
}); | ||
rs.pipe(ws); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4210
20