Permalink
Browse files

Fixing README typo.

  • Loading branch information...
1 parent e8300ab commit e69c12617e78e36f31d06406e909e8ebf6e6d00d @mikeal mikeal committed Oct 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -24,7 +24,7 @@ The returned file object is a stream so you can do standard stream stuff to it.
So if you send data to it, it'll be a write stream.
```javascript
-fs.createReadStream(filed('/newfile'))
+fs.createReadStream.pipe(filed('/newfile'))
```
If you pipe it to a destination it'll be a read stream.

0 comments on commit e69c126

Please sign in to comment.