Skip to content

Raynos/array-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

array-stream

build status

browser support

Convert a stream to an array

Example

var toArray = require('array-stream')
var s = toArray(function (list) {
    assert.deepEqual(list, [
        "one"
        , "two"
        , "three"
        , "four"
        , "five"
    ])

    assert.end()
})

s.write("one\ntw")
s.write("o\nthree\nfo")
s.write("u")
s.write("r\nf")
s.write("iv")
s.end("e")

Installation

npm install array-stream

Contributors

  • Raynos

MIT Licenced

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published