Socket
Socket
Sign inDemoInstall

simple-bufferstream

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-bufferstream

Turn a Buffer into a Stream (simplistic version)


Version published
Maintainers
1
Created
Source

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.

Keywords

FAQs

Package last updated on 21 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc