simple-bufferstream

Turn a Buffer into a Stream (simplistic version)

no longer maintained
Last updated 12 years ago by rvagg .
MIT · Repository · Original npm · Tarball · package.json
$ gnpm install simple-bufferstream 
SYNC missed versions from official npm registry.

Simple BufferStream Build Status

Give it a Node.js Buffer and it'll give you a Node.js Readable Stream; that's all!

If you need anything fancier then use BufferStream, it does splitting and the whole kitchen sink!

A contrived example:

var sbuff = require('simple-bufferstream')

sbuff(myBuffer).pipe(fs.createWriteStream('myoutput.dat'))

Not that you'd want to do exactly that but sometimes you need a Buffer to behave as a Stream.

Licence

Simple BufferStream is Copyright (c) 2012-2015 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.

Current Tags

  • 1.0.0                                ...           latest (10 years ago)

6 Versions

  • 1.0.0 [deprecated]           ...           10 years ago
  • 0.0.4 [deprecated]           ...           11 years ago
  • 0.0.3 [deprecated]           ...           11 years ago
  • 0.0.2 [deprecated]           ...           12 years ago
  • 0.0.1 [deprecated]           ...           12 years ago
  • 0.0.0 [deprecated]           ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)

Copyright 2013 - present © cnpmjs.org | Home |