Yirmiuc / node-istextorbinary

Determine if a filename and/or buffer is text or binary