bevry / istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
☆150Updated 4 months ago
Alternatives and similar repositories for istextorbinary:
Users that are interested in istextorbinary are comparing it to the libraries listed below
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 3 months ago
- Create and parse HTTP Content-Type header☆134Updated 6 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆108Updated 2 years ago
- node module to check if a command-line command exists☆144Updated 2 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Import a module while bypassing the cache☆283Updated 2 weeks ago
- Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆142Updated last year
- Easily handle defaults for your options☆73Updated last year
- Evaluate node require() module content directly☆94Updated 2 years ago
- 🚸 Cross platform children list of a PID.☆123Updated 2 years ago
- Reliably get the terminal window size☆140Updated last year
- An incremental implementation of MurmurHash3 for JavaScript☆96Updated 11 years ago
- Check if something is a Node.js stream☆110Updated 3 months ago
- Node style HMAC for use in the browser, with native implementation in node☆61Updated last month
- Find the closest package.json file☆162Updated last year
- Create an error from multiple errors☆245Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get callsites from the V8 stack trace API☆262Updated 7 months ago
- Clear a module from the cache☆181Updated 3 years ago
- Read a chunk from a file☆123Updated 7 months ago
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Start a promise chain☆58Updated 3 years ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆79Updated 4 years ago
- A simple Node.js module to check if a TCP port is already bound.☆65Updated 3 years ago
- Extends minimatch.match() with support for multiple patterns☆300Updated last year
- Module to hook into the Node.js require function☆174Updated last week
- Compose promise-returning & async functions into a reusable pipeline☆122Updated 3 years ago
- Monkey-patches for file system related things☆114Updated this week