Merge pull request #1488 from jsguy/patch-1

Make it work in a browser
This commit is contained in:
Leo Horie 2016-12-29 18:32:03 -05:00 committed by GitHub
commit 00a3ce3657

View file

@ -112,4 +112,5 @@ createStream.merge = merge
createStream.combine = combine
createStream.HALT = HALT
module.exports = createStream
if (typeof module !== "undefined") module["exports"] = createStream
else window.stream = createStream