{"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"keywords":["encoding","charset"],"dist-tags":{"latest":"1.5.1"},"author":{"name":"António Afonso"},"description":"Character encoding auto-detection in JavaScript (port of python's chardet)","readme":"[![NPM](https://nodei.co/npm/jschardet.png?downloads=true&downloadRank=true)](https://nodei.co/npm/jschardet/)\n\nJsChardet\n=========\n\nPort of python's chardet (https://github.com/chardet/chardet).\n\nLicense\n-------\n\nLGPL\n\nHow To Use It\n-------------\n\n### Node\n```   \nnpm install jschardet\n```\n\n    var jschardet = require(\"jschardet\")\n\n    // \"àíàçã\" in UTF-8\n    jschardet.detect(\"\\xc3\\xa0\\xc3\\xad\\xc3\\xa0\\xc3\\xa7\\xc3\\xa3\")\n    // { encoding: \"UTF-8\", confidence: 0.9690625 }\n\n    // \"次常用國字標準字體表\" in Big5\n    jschardet.detect(\"\\xa6\\xb8\\xb1\\x60\\xa5\\xce\\xb0\\xea\\xa6\\x72\\xbc\\xd0\\xb7\\xc7\\xa6\\x72\\xc5\\xe9\\xaa\\xed\")\n    // { encoding: \"Big5\", confidence: 0.99 }\n\n### Browser\nCopy and include [jschardet.min.js](https://github.com/aadsm/jschardet/tree/master/dist/jschardet.min.js) in your web page.\n\nThis library is also available in [cdnjs](https://cdnjs.com) at [https://cdnjs.cloudflare.com/ajax/libs/jschardet/1.4.1/jschardet.min.js](https://cdnjs.cloudflare.com/ajax/libs/jschardet/1.4.1/jschardet.min.js)\n\nOptions\n-------\n\n```javascript\n// See all information related to the confidence levels of each encoding.\n// This is useful to see why you're not getting the expected encoding.\njschardet.Constants._debug = true;\n\n// Default minimum accepted confidence level is 0.20 but sometimes this is not\n// enough, specially when dealing with files mostly with numbers.\n// To change this to 0 to always get something or any other value that can\n// work for you.\njschardet.Constants.MINIMUM_THRESHOLD = 0;\n```\n\nSupported Charsets\n------------------\n\n* Big5, GB2312/GB18030, EUC-TW, HZ-GB-2312, and ISO-2022-CN (Traditional and Simplified Chinese)\n* EUC-JP, SHIFT_JIS, and ISO-2022-JP (Japanese)\n* EUC-KR and ISO-2022-KR (Korean)\n* KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, and windows-1251 (Russian)\n* ISO-8859-2 and windows-1250 (Hungarian)\n* ISO-8859-5 and windows-1251 (Bulgarian)\n* windows-1252\n* ISO-8859-7 and windows-1253 (Greek)\n* ISO-8859-8 and windows-1255 (Visual and Logical Hebrew)\n* TIS-620 (Thai)\n* UTF-32 BE, LE, 3412-ordered, or 2143-ordered (with a BOM)\n* UTF-16 BE or LE (with a BOM)\n* UTF-8 (with or without a BOM)\n* ASCII\n\nTechnical Information\n---------------------\n\nI haven't been able to create tests to correctly detect:\n\n* ISO-2022-CN\n* windows-1250 in Hungarian\n* windows-1251 in Bulgarian\n* windows-1253 in Greek\n* EUC-CN\n\nDevelopment\n-----------\nUse `npm run dist` to update the distribution files. They're available at https://github.com/aadsm/jschardet/tree/master/dist.\n\nAuthors\n-------\n\nPorted from python to JavaScript by António Afonso (https://github.com/aadsm/jschardet)\n\nTransformed into an npm package by Markus Ast (https://github.com/brainafk)\n","repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"users":{"shieldax":true,"magemagic":true,"shaomq":true,"flyslow":true,"duxing":true,"h0ward":true,"chrisyipw":true,"jerkovicl":true,"devonwen":true,"cedware":true,"bluelovers":true,"fantasy":true,"joan12358":true,"dm7":true},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"license":"LGPL-2.1+","versions":{"0.0.1":{"name":"jschardet","version":"0.0.1","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"git://github.com/brainafk/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brainafk","email":"m@rkusa.st"},"_id":"jschardet@0.0.1","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.2","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"103b76637eefb27ce0e9bc1ec666c2ed236286ce","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-0.0.1.tgz"},"maintainers":[{"name":"brainafk","email":"m@rkusa.st"}]},"0.0.2":{"name":"jschardet","version":"0.0.2","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"git://github.com/brainafk/node-jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brainafk","email":"m@rkusa.st"},"_id":"jschardet@0.0.2","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.2","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"60e3574d296a6edcf5ab3f8e0b53c1f63ebf3018","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-0.0.2.tgz"},"maintainers":[{"name":"brainafk","email":"m@rkusa.st"}]},"1.0.0":{"name":"jschardet","version":"1.0.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"git://github.com/brainafk/node-jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brainafk","email":"m@rkusa.st"},"_id":"jschardet@1.0.0","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.9","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"c8672db74962bd9e58d82d65166edc3d90a72fcf","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.0.0.tgz"},"maintainers":[{"name":"brainafk","email":"m@rkusa.st"}]},"1.0.1":{"name":"jschardet","version":"1.0.1","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"git://github.com/brainafk/node-jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brainafk","email":"m@rkusa.st"},"_id":"jschardet@1.0.1","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.13","_defaultsLoaded":true,"dist":{"shasum":"264eca015b2600d5e1cd488ac0cf035e4392e18e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.0.1.tgz"},"maintainers":[{"name":"brainafk","email":"m@rkusa.st"}]},"1.0.2":{"name":"jschardet","version":"1.0.2","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"git://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"_id":"jschardet@1.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"ed9fad02f735b60dd5f34457a43e3f1835302efa","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.0.2.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}]},"1.1.0":{"name":"jschardet","version":"1.1.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"_id":"jschardet@1.1.0","dist":{"shasum":"c5b135ad430144c5cb73cdbc0dae43cac3adfade","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.1.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}]},"1.1.1":{"name":"jschardet","version":"1.1.1","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"keywords":["encoding","charset"],"repository":{"type":"git","url":"https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet","_id":"jschardet@1.1.1","scripts":{},"_shasum":"343200b935c1f666a1597c74e1d78fb27ccac83e","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"dist":{"shasum":"343200b935c1f666a1597c74e1d78fb27ccac83e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.1.1.tgz"}},"1.2.0":{"name":"jschardet","version":"1.2.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet","_id":"jschardet@1.2.0","scripts":{},"_shasum":"1fcec592e6b4c64b86d4cbd2892fa77472b27026","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"dist":{"shasum":"1fcec592e6b4c64b86d4cbd2892fa77472b27026","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.2.0.tgz"}},"1.3.0":{"name":"jschardet","version":"1.3.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet","_id":"jschardet@1.3.0","scripts":{},"_shasum":"740c729da9362f8e5c7e6dcfd1cc6af132ef028d","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"dist":{"shasum":"740c729da9362f8e5c7e6dcfd1cc6af132ef028d","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.3.0.tgz"}},"1.4.0":{"name":"jschardet","version":"1.4.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet#readme","_id":"jschardet@1.4.0","scripts":{},"_shasum":"c24337e1f38ba3736c1b0234df6aa72d44010f75","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.2","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"dist":{"shasum":"c24337e1f38ba3736c1b0234df6aa72d44010f75","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.4.0.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}]},"1.4.1":{"name":"jschardet","version":"1.4.1","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet#readme","_id":"jschardet@1.4.1","scripts":{},"_shasum":"5e0f8966ddbe897f6d287e2196bfe0cf3a0090ec","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.2","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"dist":{"shasum":"5e0f8966ddbe897f6d287e2196bfe0cf3a0090ec","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.4.1.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}]},"1.4.2":{"name":"jschardet","version":"1.4.2","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"devDependencies":{"browserify":"~12.0.1","google-closure-compiler":"20151015.0.0"},"scripts":{"dist-dev":"mkdir -p dist && browserify index.js -s jschardet --detect-globals false -o dist/jschardet.js","dist":"npm run dist-dev && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level QUIET --compilation_level SIMPLE_OPTIMIZATIONS --js dist/jschardet.js > dist/jschardet.min.js"},"engines":{"node":">=0.1.90"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet#readme","_id":"jschardet@1.4.2","_shasum":"2aa107f142af4121d145659d44f50830961e699a","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"dist":{"shasum":"2aa107f142af4121d145659d44f50830961e699a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.4.2.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jschardet-1.4.2.tgz_1489260230200_0.36544930562376976"}},"1.5.0":{"name":"jschardet","version":"1.5.0","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"devDependencies":{"browserify":"~12.0.1","google-closure-compiler":"20151015.0.0"},"scripts":{"dist-dev":"mkdir -p dist && browserify index.js -s jschardet --detect-globals false -o dist/jschardet.js","dist":"npm run dist-dev && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level QUIET --compilation_level SIMPLE_OPTIMIZATIONS --js dist/jschardet.js > dist/jschardet.min.js"},"engines":{"node":">=0.1.90"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet#readme","_id":"jschardet@1.5.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"dist":{"integrity":"sha512-+Q8JsoEQbrdE+a/gg1F9XO92gcKXgpE5UACqr0sIubjDmBEkd+OOWPGzQeMrWSLxd73r4dHxBeRW7edHu5LmJQ==","shasum":"a61f310306a5a71188e1b1acd08add3cfbb08b1e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.5.0.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jschardet-1.5.0.tgz_1500169957359_0.5766156299505383"}},"1.5.1":{"name":"jschardet","version":"1.5.1","description":"Character encoding auto-detection in JavaScript (port of python's chardet)","main":"src/init","author":{"name":"António Afonso"},"license":"LGPL-2.1+","keywords":["encoding","charset"],"repository":{"type":"git","url":"git+https://github.com/aadsm/jschardet.git"},"directories":{"lib":"./lib","test":"./test"},"dependencies":{},"devDependencies":{"browserify":"~12.0.1","google-closure-compiler":"20151015.0.0"},"scripts":{"dist-dev":"mkdir -p dist && browserify index.js -s jschardet --detect-globals false -o dist/jschardet.js","dist":"npm run dist-dev && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level QUIET --compilation_level SIMPLE_OPTIMIZATIONS --js dist/jschardet.js > dist/jschardet.min.js"},"engines":{"node":">=0.1.90"},"bugs":{"url":"https://github.com/aadsm/jschardet/issues"},"homepage":"https://github.com/aadsm/jschardet#readme","_id":"jschardet@1.5.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"aadsm","email":"antonio.afonso@gmail.com"},"dist":{"integrity":"sha512-vE2hT1D0HLZCLLclfBSfkfTTedhVj0fubHpJBHKwwUWX0nSbhPAfk+SG9rTX95BYNmau8rGFfCeaT6T5OW1C2A==","shasum":"c519f629f86b3a5bedba58a88d311309eec097f9","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/jschardet/-/jschardet-1.5.1.tgz"},"maintainers":[{"name":"aadsm","email":"antonio.afonso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jschardet-1.5.1.tgz_1502064809655_0.05027155065909028"}}},"name":"jschardet","time":{"modified":"2017-08-08T10:17:12.678Z","created":"2012-03-01T23:22:55.537Z","0.0.1":"2012-03-01T23:22:57.508Z","0.0.2":"2012-03-01T23:23:31.160Z","1.0.0":"2012-03-21T13:45:06.175Z","1.0.1":"2012-03-31T14:01:24.826Z","1.0.2":"2012-04-01T16:34:52.237Z","1.1.0":"2013-10-12T17:10:26.210Z","1.1.1":"2015-03-16T06:37:10.454Z","1.2.0":"2015-06-22T04:23:26.715Z","1.3.0":"2015-07-13T05:42:31.219Z","1.4.0":"2015-11-03T07:21:30.141Z","1.4.1":"2015-11-08T17:11:28.538Z","1.4.2":"2017-03-11T19:23:52.452Z","1.5.0":"2017-07-16T01:52:37.489Z","1.5.1":"2017-08-07T00:13:30.131Z"},"readmeFilename":"README.md","homepage":"https://github.com/aadsm/jschardet#readme"}