UNPKG

@octopusdeploy/octojs

Version:

A nodejs cli tool for packaging and pushing projects to an Octopus Deploy instance.

5 lines (4 loc) 210 B
var stream = require('stream'); module.exports = function isReadableStream(obj) { return obj instanceof stream.Stream && typeof (obj._read) === 'function' && typeof (obj._readableState) === 'object'; }