git ssb

2+

Dominic / pull-stream



Commit 31e107f67632563f67b704ce2fb36eaa3e2475a5

link to st

ream converters
Dominic Tarr committed on 5/10/2014, 12:04:12 PM
Parent: c07e91962bbeb7c9eb30258087f4c7e30933e122

Files changed

README.mdchanged
README.mdView
@@ -27,15 +27,23 @@
2727
2828 The best thing about pull-stream is that it can be completely lazy.
2929 This is perfect for async traversals where you might want to stop early.
3030
31+## Compatibily with node streams
32+
33+pull-streams are not _directly_ compatible with node streams,
34+but pull-streams can be converted into node streams with
35+[pull-stream-to-stream](https://github.com/dominictarr/pull-stream-to-stream)
36+and node streams can be converted into pull-stream using [stream-to-pull-stream](https://github.com/dominictarr/stream-to-pull-stream)
37+
38+
3139 ## Examples
3240
3341 What if implementing a stream was this simple:
3442
3543 ### Pipeable Streams
3644
37-`pull.{Source,Through,Sink}` just wrap a function and give it a `.pipe(dest)`!
45+`pull.{Source,Through,Sink}` wraps a function and added a `type` property to signify what type of pull-stream it is.
3846
3947 ```js
4048 var pull = require('pull-stream')
4149

Built with git-ssb-web