Socket
Socket
Sign inDemoInstall

string-stream

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-stream

A stream that works on a string.


Version published
Maintainers
1
Weekly downloads
99
decreased by-63.2%

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 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc