string-stream

A stream that works on a string.

7 个版本
安装
npm install string-stream
yarn add string-stream
pnpm add string-stream
bun add string-stream
README

StringStream for node.js

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

Installation

npm install string-stream

Api

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.

版本列表
0.0.7 2013-03-26
0.0.6 2013-03-20
0.0.5 2013-03-08
0.0.4 2013-03-08
0.0.3 2013-03-08
0.0.2 2013-03-05
0.0.1 2013-03-05