UNPKG

detect-file-encoding-and-language

Version:

Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI

99 lines (98 loc) 2.08 kB
{ "name": "detect-file-encoding-and-language", "version": "2.4.0", "description": "Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI", "main": "src/index-node.js", "browser": "src/index-browser.js", "types": "src/index.d.ts", "scripts": { "test": "node ./tests/node/node.test.js", "testSingleFile": "node ./bin/cli.js", "build": "browserify ./src/index-browser.js --standalone languageEncoding > ./umd/language-encoding.min.js", "minify": "uglifyjs ./umd/language-encoding.min.js --compress --output ./umd/language-encoding.min.js", "prepublishOnly": "npm test" }, "bin": { "dfeal": "./bin/cli.js" }, "files": [ "umd", "src" ], "repository": { "type": "git", "url": "git+https://github.com/gignupg/Detect-File-Encoding-And-Language.git" }, "keywords": [ "detect", "encoding", "charset", "detection", "language", "detector", "file", "detector", "files", "tool", "character", "set", "node", "browser", "javascript", "server", "client", "cli", "srt", "txt", "sub", "html", "csv", "tsv", "utf8", "utf-8", "utf-16le", "utf-16be", "utf-32le", "utf-32be", "utf-7", "utf-1", "UTF-EBCDIC", "SCSU", "BOCU-1", "cp-1250", "cp-1251", "cp-1252", "cp-1253", "cp-1254", "cp-1255", "cp-1256", "cp1250", "cp1251", "cp1252", "cp1253", "cp1254", "cp1255", "cp1256", "windows-1250", "windows-1251", "windows-1252", "windows-1253", "windows-1254", "windows-1255", "windows-1256", "gb18030", "big5", "big-5", "shift-jis", "shift_jis", "shift jis", "EUC-KR", "TIS-620" ], "author": "Linus Komnick", "license": "MIT", "bugs": { "url": "https://github.com/gignupg/Detect-File-Encoding-and-Language/issues" }, "homepage": "https://github.com/gignupg/Detect-File-Encoding-and-Language#readme" }