PHP 8.2.30
Preview: index.js Size: 677 B
//home/byroehnu/easepay.easetack.com/node_modules/is-stream/index.js

'use strict';

const isStream = stream =>
	stream !== null &&
	typeof stream === 'object' &&
	typeof stream.pipe === 'function';

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

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

isStream.duplex = stream =>
	isStream.writable(stream) &&
	isStream.readable(stream);

isStream.transform = stream =>
	isStream.duplex(stream) &&
	typeof stream._transform === 'function';

module.exports = isStream;

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:21
Edit Download
1.74 KB lrw-r--r-- 2026-02-21 00:53:24
Edit Download
677 B lrw-r--r-- 2026-02-21 00:53:22
Edit Download
1.09 KB lrw-r--r-- 2026-02-21 00:53:20
Edit Download
734 B lrw-r--r-- 2026-02-21 00:53:22
Edit Download
1.58 KB lrw-r--r-- 2026-02-21 00:53:24
Edit Download

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