89 lines
2.5 KiB
JSON
89 lines
2.5 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "is-utf8@^0.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "is-utf8",
|
||
|
"name": "is-utf8",
|
||
|
"rawSpec": "^0.2.0",
|
||
|
"spec": ">=0.2.0 <0.3.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/test-exclude/node_modules/strip-bom"
|
||
|
]
|
||
|
],
|
||
|
"_from": "is-utf8@>=0.2.0 <0.3.0",
|
||
|
"_id": "is-utf8@0.2.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/is-utf8",
|
||
|
"_nodeVersion": "2.3.4",
|
||
|
"_npmUser": {
|
||
|
"name": "wayfind",
|
||
|
"email": "whyer1@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "2.12.1",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "is-utf8@^0.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "is-utf8",
|
||
|
"name": "is-utf8",
|
||
|
"rawSpec": "^0.2.0",
|
||
|
"spec": ">=0.2.0 <0.3.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/default-require-extensions/strip-bom",
|
||
|
"/test-exclude/strip-bom"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
|
||
|
"_shasum": "4b0da1442104d1b336340e80797e865cf39f7d72",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "is-utf8@^0.2.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/test-exclude/node_modules/strip-bom",
|
||
|
"author": {
|
||
|
"name": "wayfind"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/wayfind/is-utf8/issues"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "Detect if a buffer is utf8 encoded.",
|
||
|
"devDependencies": {},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "4b0da1442104d1b336340e80797e865cf39f7d72",
|
||
|
"tarball": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"is-utf8.js"
|
||
|
],
|
||
|
"gitHead": "709df7202f9c3f93cdc2463b352dd80d8de9ce0b",
|
||
|
"homepage": "https://github.com/wayfind/is-utf8#readme",
|
||
|
"keywords": [
|
||
|
"utf8",
|
||
|
"charset"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "is-utf8.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "wayfind",
|
||
|
"email": "whyer1@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "is-utf8",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "#utf8 detector\n\nDetect if a Buffer is utf8 encoded. \nIt need The minimum amount of bytes is 4.\n\n\n```javascript\n var fs = require('fs');\n var isUtf8 = require('is-utf8');\n var ansi = fs.readFileSync('ansi.txt');\n var utf8 = fs.readFileSync('utf8.txt');\n \n console.log('ansi.txt is utf8: '+isUtf8(ansi)); //false\n console.log('utf8.txt is utf8: '+isUtf8(utf8)); //true\n```\n \n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/wayfind/is-utf8.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "node test.js"
|
||
|
},
|
||
|
"version": "0.2.1"
|
||
|
}
|