mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
13 lines
194 B
JavaScript
13 lines
194 B
JavaScript
var stream;
|
|
var STREAM = 'stream';
|
|
|
|
var streamPath;
|
|
try {
|
|
streamPath = require.resolve(STREAM);
|
|
} catch(e) {}
|
|
|
|
if (streamPath) {
|
|
stream = require(streamPath);
|
|
}
|
|
|
|
module.exports = stream; |