package.json
2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"_args": [
[
"is-utf8@^0.2.0",
"/Users/sam/Documents/dili_git_project/static-pnr/images/2.3.0/node_modules/strip-bom"
]
],
"_from": "is-utf8@>=0.2.0 <0.3.0",
"_id": "is-utf8@0.2.0",
"_inCache": true,
"_installable": true,
"_location": "/is-utf8",
"_npmUser": {
"email": "whyer1@gmail.com",
"name": "wayfind"
},
"_npmVersion": "1.1.59",
"_phantomChildren": {},
"_requested": {
"name": "is-utf8",
"raw": "is-utf8@^0.2.0",
"rawSpec": "^0.2.0",
"scope": null,
"spec": ">=0.2.0 <0.3.0",
"type": "range"
},
"_requiredBy": [
"/strip-bom",
"/vinyl-fs/strip-bom"
],
"_resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz",
"_shasum": "b8aa54125ae626bfe4e3beb965f16a89c58a1137",
"_shrinkwrap": null,
"_spec": "is-utf8@^0.2.0",
"_where": "/Users/sam/Documents/dili_git_project/static-pnr/images/2.3.0/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": "b8aa54125ae626bfe4e3beb965f16a89c58a1137",
"tarball": "http://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz"
},
"homepage": "https://github.com/wayfind/is-utf8#readme",
"keywords": [
"charset",
"utf8"
],
"license": "BSD",
"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\n\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));\n console.log('utf8.txt is utf8: '+isUtf8(utf8));\n \n",
"repository": {
"type": "git",
"url": "git+https://github.com/wayfind/is-utf8.git"
},
"scripts": {
"test": "node test.js"
},
"version": "0.2.0"
}