PHP 8.2.30
Preview: index.js Size: 800 B
//usr/lib/node_modules/npm/node_modules/is-stream/index.js

'use strict';

var isStream = module.exports = function (stream) {
	return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function';
};

isStream.writable = function (stream) {
	return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object';
};

isStream.readable = function (stream) {
	return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object';
};

isStream.duplex = function (stream) {
	return isStream.writable(stream) && isStream.readable(stream);
};

isStream.transform = function (stream) {
	return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object';
};

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
800 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download
1.09 KB lrw-r--r-- 2021-03-10 14:36:36
Edit Download
1.58 KB lrw-r--r-- 2021-03-10 14:36:36
Edit Download
664 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).