textextensions
A package that contains an array of every single file extension there is for text files
istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
binaryextensions
A package that contains an array of every single file extension there is for binary files
typechecker
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
eachr
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.