Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/is-utf8.json

raw
1 {
2 "_id": "is-utf8",
3 "_rev": "8-aaef4be735fafceac018bb021ecb3a79",
4 "name": "is-utf8",
5 "description": "Detect if a buffer is utf8 encoded.",
6 "dist-tags": {
7 "latest": "0.2.1"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "is-utf8",
12 "version": "0.1.0",
13 "description": "detect if a buffer is utf8 encoded.",
14 "main": "is-utf8.js",
15 "scripts": {
16 "test": "echo \"Error: no test specified\" && exit 1"
17 },
18 "repository": {
19 "type": "git",
20 "url": "https://github.com/wayfind/is-utf8.git"
21 },
22 "keywords": [
23 "utf8",
24 "charset"
25 ],
26 "author": {
27 "name": "wayfind"
28 },
29 "license": "BSD",
30 "_id": "[email protected]",
31 "dist": {
32 "shasum": "813d72a6f0219952b3814f38cd277876802d9ebb",
33 "tarball": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.1.0.tgz"
34 },
35 "_npmVersion": "1.1.59",
36 "_npmUser": {
37 "name": "wayfind",
38 "email": "[email protected]"
39 },
40 "maintainers": [
41 {
42 "name": "wayfind",
43 "email": "[email protected]"
44 }
45 ],
46 "directories": {}
47 },
48 "0.2.0": {
49 "name": "is-utf8",
50 "version": "0.2.0",
51 "description": "detect if a buffer is utf8 encoded.",
52 "main": "is-utf8.js",
53 "scripts": {
54 "test": "node test.js"
55 },
56 "repository": {
57 "type": "git",
58 "url": "https://github.com/wayfind/is-utf8.git"
59 },
60 "keywords": [
61 "utf8",
62 "charset"
63 ],
64 "author": {
65 "name": "wayfind"
66 },
67 "license": "BSD",
68 "_id": "[email protected]",
69 "dist": {
70 "shasum": "b8aa54125ae626bfe4e3beb965f16a89c58a1137",
71 "tarball": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz"
72 },
73 "_npmVersion": "1.1.59",
74 "_npmUser": {
75 "name": "wayfind",
76 "email": "[email protected]"
77 },
78 "maintainers": [
79 {
80 "name": "wayfind",
81 "email": "[email protected]"
82 }
83 ],
84 "directories": {}
85 },
86 "0.2.1": {
87 "name": "is-utf8",
88 "version": "0.2.1",
89 "description": "Detect if a buffer is utf8 encoded.",
90 "main": "is-utf8.js",
91 "scripts": {
92 "test": "node test.js"
93 },
94 "repository": {
95 "type": "git",
96 "url": "git+https://github.com/wayfind/is-utf8.git"
97 },
98 "keywords": [
99 "utf8",
100 "charset"
101 ],
102 "files": [
103 "is-utf8.js"
104 ],
105 "author": {
106 "name": "wayfind"
107 },
108 "license": "MIT",
109 "gitHead": "709df7202f9c3f93cdc2463b352dd80d8de9ce0b",
110 "bugs": {
111 "url": "https://github.com/wayfind/is-utf8/issues"
112 },
113 "homepage": "https://github.com/wayfind/is-utf8#readme",
114 "_id": "[email protected]",
115 "_shasum": "4b0da1442104d1b336340e80797e865cf39f7d72",
116 "_from": ".",
117 "_npmVersion": "2.12.1",
118 "_nodeVersion": "2.3.4",
119 "_npmUser": {
120 "name": "wayfind",
121 "email": "[email protected]"
122 },
123 "maintainers": [
124 {
125 "name": "wayfind",
126 "email": "[email protected]"
127 }
128 ],
129 "dist": {
130 "shasum": "4b0da1442104d1b336340e80797e865cf39f7d72",
131 "tarball": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz"
132 },
133 "directories": {}
134 }
135 },
136 "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",
137 "maintainers": [
138 {
139 "name": "wayfind",
140 "email": "[email protected]"
141 }
142 ],
143 "time": {
144 "modified": "2015-12-19T04:04:22.462Z",
145 "created": "2012-09-12T09:23:46.194Z",
146 "0.1.0": "2012-09-12T09:23:51.635Z",
147 "0.2.0": "2012-09-12T09:47:48.160Z",
148 "0.2.1": "2015-12-19T04:04:22.462Z"
149 },
150 "author": {
151 "name": "wayfind"
152 },
153 "repository": {
154 "type": "git",
155 "url": "git+https://github.com/wayfind/is-utf8.git"
156 },
157 "users": {
158 "alanshaw": true,
159 "robermac": true
160 },
161 "homepage": "https://github.com/wayfind/is-utf8#readme",
162 "keywords": [
163 "utf8",
164 "charset"
165 ],
166 "bugs": {
167 "url": "https://github.com/wayfind/is-utf8/issues"
168 },
169 "license": "MIT",
170 "readmeFilename": "README.md",
171 "_attachments": {}
172 }