esniff
Low footprint ECMAScript source code parser
csv-sniffer
Takes a sample of CSV text and tries to guess newline character, col delimiter, quote character, and whether or not the first row in the file contains labels
snifferjs
Browser/engine/os/device detection tool