This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var util = require("util"), | |
Stream = require("stream").Stream; | |
module.exports = MockStream; | |
/** | |
* A constructor that inherits from Stream and emits data from the given | |
* `source`. If it's a Stream it will be piped through to this stream. | |
* Otherwise, it should be a string or a Buffer which will be emitted by this | |
* stream as soon as possible. |