Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

string-stream

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Issues
File Explorer

Advanced tools

string-stream

A stream that works on a string.

    0.0.7latest
    npm

Version published
Maintainers
1
Weekly downloads
382
decreased by-21.56%

Weekly downloads

Readme

Source

StringStream for node.js

This package provides classes to work with strings in a streaming way.

Installation

npm install string-stream

Api

  • Readable()
  • Readable.read()
  • Readable.pipe()

Readable()

Implements a readable stream interface to a string or a buffer.

Readable.read(n:Number)

Reads the given n bytes from the stream.

Readable.pipe(dest:Buffer)

Not quite sure if it is necessary to implement the pipe method. But the piping with the core method doesn't work.

Keywords

FAQs

Last updated on 26 Mar 2013

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc