v3.1.4
Character encoding auto-detection in JavaScript (port of python's chardet)
Source code on GitHub