Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/decode-uri-component.json

raw
1 {
2 "_id": "decode-uri-component",
3 "_rev": "2-98d50a51a9681c8c1dbd92574c6022e5",
4 "name": "decode-uri-component",
5 "description": "A better decodeURIComponent",
6 "dist-tags": {
7 "latest": "0.2.0"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "decode-uri-component",
12 "version": "0.1.0",
13 "description": "A better decodeURIComponent",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/samverschueren/decode-uri-component.git"
18 },
19 "author": {
20 "name": "Sam Verschueren",
21 "email": "[email protected]",
22 "url": "github.com/SamVerschueren"
23 },
24 "engines": {
25 "node": ">=4"
26 },
27 "scripts": {
28 "test": "xo && nyc ava",
29 "coveralls": "nyc report --reporter=text-lcov | coveralls"
30 },
31 "files": [
32 "index.js"
33 ],
34 "keywords": [
35 "decode",
36 "uri",
37 "component",
38 "decodeuricomponent",
39 "components",
40 "decoder",
41 "url"
42 ],
43 "devDependencies": {
44 "ava": "*",
45 "coveralls": "^2.13.1",
46 "nyc": "^10.3.2",
47 "xo": "*"
48 },
49 "gitHead": "43d5a895a5dbcac13faf19d3235a155635f5feda",
50 "bugs": {
51 "url": "https://github.com/samverschueren/decode-uri-component/issues"
52 },
53 "homepage": "https://github.com/samverschueren/decode-uri-component#readme",
54 "_id": "[email protected]",
55 "_shasum": "6eb2ac05e5cf288590b4a8b60d774c027e3fd5ab",
56 "_from": ".",
57 "_npmVersion": "3.10.8",
58 "_nodeVersion": "6.9.1",
59 "_npmUser": {
60 "name": "samverschueren",
61 "email": "[email protected]"
62 },
63 "dist": {
64 "shasum": "6eb2ac05e5cf288590b4a8b60d774c027e3fd5ab",
65 "tarball": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.1.0.tgz"
66 },
67 "maintainers": [
68 {
69 "name": "samverschueren",
70 "email": "[email protected]"
71 }
72 ],
73 "_npmOperationalInternal": {
74 "host": "s3://npm-registry-packages",
75 "tmp": "tmp/decode-uri-component-0.1.0.tgz_1495226477010_0.7113540396094322"
76 },
77 "directories": {}
78 },
79 "0.2.0": {
80 "name": "decode-uri-component",
81 "version": "0.2.0",
82 "description": "A better decodeURIComponent",
83 "license": "MIT",
84 "repository": {
85 "type": "git",
86 "url": "git+https://github.com/samverschueren/decode-uri-component.git"
87 },
88 "author": {
89 "name": "Sam Verschueren",
90 "email": "[email protected]",
91 "url": "github.com/SamVerschueren"
92 },
93 "engines": {
94 "node": ">=0.10"
95 },
96 "scripts": {
97 "test": "xo && nyc ava",
98 "coveralls": "nyc report --reporter=text-lcov | coveralls"
99 },
100 "files": [
101 "index.js"
102 ],
103 "keywords": [
104 "decode",
105 "uri",
106 "component",
107 "decodeuricomponent",
108 "components",
109 "decoder",
110 "url"
111 ],
112 "devDependencies": {
113 "ava": "^0.17.0",
114 "coveralls": "^2.13.1",
115 "nyc": "^10.3.2",
116 "xo": "^0.16.0"
117 },
118 "gitHead": "52782a347527a6a05fed02434ffcf8f2ba1b19a3",
119 "bugs": {
120 "url": "https://github.com/samverschueren/decode-uri-component/issues"
121 },
122 "homepage": "https://github.com/samverschueren/decode-uri-component#readme",
123 "_id": "[email protected]",
124 "_shasum": "eb3913333458775cb84cd1a1fae062106bb87545",
125 "_from": ".",
126 "_npmVersion": "3.10.8",
127 "_nodeVersion": "6.9.1",
128 "_npmUser": {
129 "name": "samverschueren",
130 "email": "[email protected]"
131 },
132 "dist": {
133 "shasum": "eb3913333458775cb84cd1a1fae062106bb87545",
134 "tarball": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz"
135 },
136 "maintainers": [
137 {
138 "name": "samverschueren",
139 "email": "[email protected]"
140 }
141 ],
142 "_npmOperationalInternal": {
143 "host": "s3://npm-registry-packages",
144 "tmp": "tmp/decode-uri-component-0.2.0.tgz_1498673766342_0.38562501198612154"
145 },
146 "directories": {}
147 }
148 },
149 "readme": "# decode-uri-component\n\n[![Build Status](https://travis-ci.org/SamVerschueren/decode-uri-component.svg?branch=master)](https://travis-ci.org/SamVerschueren/decode-uri-component) [![Coverage Status](https://coveralls.io/repos/SamVerschueren/decode-uri-component/badge.svg?branch=master&service=github)](https://coveralls.io/github/SamVerschueren/decode-uri-component?branch=master)\n\n> A better [decodeURIComponent](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent)\n\n\n## Why?\n\n- Decodes `+` to a space.\n- Converts the [BOM](https://en.wikipedia.org/wiki/Byte_order_mark) to a [replacement character](https://en.wikipedia.org/wiki/Specials_(Unicode_block)#Replacement_character) `�`.\n- Does not throw with invalid encoded input.\n- Decodes as much of the string as possible.\n\n\n## Install\n\n```\n$ npm install --save decode-uri-component\n```\n\n\n## Usage\n\n```js\nconst decodeUriComponent = require('decode-uri-component');\n\ndecodeUriComponent('%25');\n//=> '%'\n\ndecodeUriComponent('%');\n//=> '%'\n\ndecodeUriComponent('st%C3%A5le');\n//=> 'ståle'\n\ndecodeUriComponent('%st%C3%A5le%');\n//=> '%ståle%'\n\ndecodeUriComponent('%%7Bst%C3%A5le%7D%');\n//=> '%{ståle}%'\n\ndecodeUriComponent('%7B%ab%%7C%de%%7D');\n//=> '{%ab%|%de%}'\n\ndecodeUriComponent('%FE%FF');\n//=> '\\uFFFD\\uFFFD'\n\ndecodeUriComponent('%C2');\n//=> '\\uFFFD'\n\ndecodeUriComponent('%C2%B5');\n//=> 'µ'\n```\n\n\n## API\n\n### decodeUriComponent(encodedURI)\n\n#### encodedURI\n\nType: `string`\n\nAn encoded component of a Uniform Resource Identifier.\n\n\n## License\n\nMIT © [Sam Verschueren](https://github.com/SamVerschueren)\n",
150 "maintainers": [
151 {
152 "name": "samverschueren",
153 "email": "[email protected]"
154 }
155 ],
156 "time": {
157 "modified": "2017-06-28T18:16:07.372Z",
158 "created": "2017-05-19T20:41:18.502Z",
159 "0.1.0": "2017-05-19T20:41:18.502Z",
160 "0.2.0": "2017-06-28T18:16:07.372Z"
161 },
162 "homepage": "https://github.com/samverschueren/decode-uri-component#readme",
163 "keywords": [
164 "decode",
165 "uri",
166 "component",
167 "decodeuricomponent",
168 "components",
169 "decoder",
170 "url"
171 ],
172 "repository": {
173 "type": "git",
174 "url": "git+https://github.com/samverschueren/decode-uri-component.git"
175 },
176 "author": {
177 "name": "Sam Verschueren",
178 "email": "[email protected]",
179 "url": "github.com/SamVerschueren"
180 },
181 "bugs": {
182 "url": "https://github.com/samverschueren/decode-uri-component/issues"
183 },
184 "license": "MIT",
185 "readmeFilename": "readme.md",
186 "_attachments": {}
187 }