Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /lib/node_modules/npm/node_modules/isstream//isstream.js
var stream = require('stream')
function isStream (obj) {
return obj instanceof stream.Stream
}
function isReadable (obj) {
return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object'
}
function isWritable (obj) {
return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object'
}
function isDuplex (obj) {
return isReadable(obj) && isWritable(obj)
}
module.exports = isStream
module.exports.isReadable = isReadable
module.exports.isWritable = isWritable
module.exports.isDuplex = isDuplex
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:36:29 | root / root | 0755 | |
| | | | | |
.npmignore | 0.006 KB | March 10 2021 14:36:39 | root / root | 0644 | |
.travis.yml | 0.146 KB | March 10 2021 14:36:39 | root / root | 0644 | |
LICENSE.md | 1.099 KB | March 10 2021 14:36:39 | root / root | 0644 | |
README.md | 2.367 KB | March 10 2021 14:36:39 | root / root | 0644 | |
isstream.js | 0.574 KB | March 10 2021 14:36:39 | root / root | 0644 | |
package.json | 1.619 KB | March 10 2021 14:36:39 | root / root | 0644 | |
test.js | 6.812 KB | March 10 2021 14:36:39 | root / root | 0644 | |