UNPKG

@inst/vscode-bin-darwin

Version:

BINARY ONLY - VSCode binary deployment for macOS

78 lines (77 loc) 5.27 kB
{ "_args": [ [ { "raw": "jschardet@https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "scope": null, "escapedName": "jschardet", "name": "jschardet", "rawSpec": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "spec": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "type": "remote" }, "/Users/code/tfs/agent3/_work/2/s" ] ], "_from": "jschardet@>=1.5.1 <2.0.0", "_id": "jschardet@1.5.1", "_inCache": true, "_location": "/jschardet", "_phantomChildren": {}, "_requested": { "raw": "jschardet@https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "scope": null, "escapedName": "jschardet", "name": "jschardet", "rawSpec": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "spec": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "type": "remote" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "_shasum": "c519f629f86b3a5bedba58a88d311309eec097f9", "_shrinkwrap": null, "_spec": "jschardet@https://registry.npmjs.org/jschardet/-/jschardet-1.5.1.tgz", "_where": "/Users/code/tfs/agent3/_work/2/s", "author": { "name": "António Afonso" }, "bugs": { "url": "https://github.com/aadsm/jschardet/issues" }, "dependencies": {}, "description": "Character encoding auto-detection in JavaScript (port of python's chardet)", "devDependencies": { "browserify": "~12.0.1", "google-closure-compiler": "20151015.0.0" }, "directories": { "lib": "./lib", "test": "./test" }, "engines": { "node": ">=0.1.90" }, "homepage": "https://github.com/aadsm/jschardet#readme", "keywords": [ "encoding", "charset" ], "license": "LGPL-2.1+", "main": "src/init", "name": "jschardet", "optionalDependencies": {}, "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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/aadsm/jschardet.git" }, "scripts": { "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", "dist-dev": "mkdir -p dist && browserify index.js -s jschardet --detect-globals false -o dist/jschardet.js" }, "version": "1.5.1" }