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.
Node module & CLI to check if string is binary number
Validates if a value is a binary string.
Determines if a buffer is comprised of text or binary