Skip to content
Browse files

Adding note about stream interface in the readme

  • Loading branch information...
1 parent 0cde945 commit 935986d176823b9e6c21eec4afed5b43bc57b1e2 @cistov cistov committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -76,6 +76,12 @@ while (...) {
parser.done();
```
+##Streaming To Parser in Node
+
+```javascript
+fs.createReadStream('./path_to_file.html').pipe(parser);
+```
+
##Parsing RSS/Atom Feeds
```javascript

0 comments on commit 935986d

Please sign in to comment.
Something went wrong with that request. Please try again.