sindresorhus / is-stream
Check if something is a Node.js stream
☆110Updated 4 months ago
Alternatives and similar repositories for is-stream:
Users that are interested in is-stream are comparing it to the libraries listed below
- Call a callback when a readable/writable/duplex stream has completed or failed.☆149Updated 4 years ago
- Create and parse HTTP Content-Type header☆134Updated 7 months ago
- Contain async insanity so that the dark pony lord doesn't eat souls☆90Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input☆192Updated 8 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2"☆132Updated 5 years ago
- Compressible Content-Type / mime checking.☆100Updated 11 months ago
- [OBSOLUTE] Concatenate a readable stream's data into a single array.☆100Updated 6 months ago
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Get the path of the parent module☆77Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- recursively find the closest package.json☆48Updated 2 years ago
- Easily handle defaults for your options☆73Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Write data to a random temporary file☆105Updated 7 months ago
- Indent each line in a string☆113Updated 2 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 7 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Range header field parser☆93Updated 9 months ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆121Updated 2 weeks ago
- Reliably get the terminal window size☆141Updated last year
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 2 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆164Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago