bevry / istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
☆152Updated 6 months ago
Alternatives and similar repositories for istextorbinary:
Users that are interested in istextorbinary are comparing it to the libraries listed below
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 5 months ago
- Import a module while bypassing the cache☆284Updated 2 months ago
- node module to check if a command-line command exists☆144Updated 2 years ago
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- 🚸 Cross platform children list of a PID.☆124Updated 2 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Node style HMAC for use in the browser, with native implementation in node☆61Updated 3 months ago
- Reliably get the terminal window size☆141Updated last year
- Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆144Updated last year
- Write files in an atomic fashion w/configurable ownership☆235Updated this week
- Call a callback when a readable/writable/duplex stream has completed or failed.☆149Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Write data to a random temporary file☆105Updated 8 months ago
- Clear a module from the cache☆182Updated 3 years ago
- Get callsites from the V8 stack trace API☆266Updated 9 months ago
- Check if a string or buffer is SVG☆134Updated 8 months ago
- Turns partial code location into precise code location☆124Updated 2 years ago
- A simple Node.js module to check if a TCP port is already bound.☆65Updated 3 years ago
- Check if something is a Node.js stream☆110Updated 5 months ago
- Extends minimatch.match() with support for multiple patterns☆301Updated last year
- Create and parse HTTP Content-Type header☆135Updated 8 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆335Updated this week
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Monkey-patches for file system related things☆115Updated last week
- Import a module lazily☆248Updated 2 years ago
- Run some code when the process exits☆284Updated last year
- Stringify an object/array like JSON.stringify just without all the double-quotes☆313Updated 4 months ago