Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panthershark/memory-stream
Node.js streams implementation for buffered memory writes.
https://github.com/panthershark/memory-stream
Last synced: about 2 months ago
JSON representation
Node.js streams implementation for buffered memory writes.
- Host: GitHub
- URL: https://github.com/panthershark/memory-stream
- Owner: panthershark
- License: mit
- Created: 2014-03-06T16:22:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T08:09:33.000Z (almost 3 years ago)
- Last Synced: 2024-11-01T09:08:06.367Z (2 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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);
```