projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit
[yaffs-website]
/
node_modules
/
vinyl
/
lib
/
inspectStream.js
1
var isStream = require('./isStream');
2
3
module.exports = function(stream) {
4
if (!isStream(stream)) return;
5
6
var streamType = stream.constructor.name;
7
// avoid StreamStream
8
if (streamType === 'Stream') streamType = '';
9
10
return '<'+streamType+'Stream>';
11
};