Make it work in a browser
This commit is contained in:
parent
6c93791979
commit
d1a3f7fe9b
1 changed files with 2 additions and 1 deletions
|
|
@ -112,4 +112,5 @@ createStream.merge = merge
|
||||||
createStream.combine = combine
|
createStream.combine = combine
|
||||||
createStream.HALT = HALT
|
createStream.HALT = HALT
|
||||||
|
|
||||||
module.exports = createStream
|
if (typeof module !== "undefined") module["exports"] = createStream
|
||||||
|
else window.stream = createStream
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue