isbinaryfile
Detects if a file is binary in Node.js. Similar to Perl's -B.
Detects if a file is binary in Node.js. Similar to Perl's -B.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Determines if a buffer is comprised of text or binary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
detect file extensions, check if text or binary file, or get list of text or binary file extensions