Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/remove-trailing-separator.json

raw
1 {
2 "_id": "remove-trailing-separator",
3 "_rev": "5-d60b7717e489ffc621060d1308fd74a6",
4 "name": "remove-trailing-separator",
5 "description": "Removes separators from the end of the string.",
6 "dist-tags": {
7 "latest": "1.1.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "remove-trailing-separator",
12 "version": "1.0.0",
13 "description": "Removes separators from the end of the string.",
14 "main": "index.js",
15 "files": [
16 "index.js"
17 ],
18 "scripts": {
19 "lint": "xo",
20 "pretest": "npm run lint",
21 "test": "nyc ava",
22 "report": "nyc report --reporter=html"
23 },
24 "repository": {
25 "type": "git",
26 "url": "git+https://github.com/darsain/remove-trailing-separator.git"
27 },
28 "keywords": [
29 "remove",
30 "strip",
31 "separator"
32 ],
33 "author": {
34 "name": "darsain"
35 },
36 "license": "ISC",
37 "bugs": {
38 "url": "https://github.com/darsain/remove-trailing-separator/issues"
39 },
40 "homepage": "https://github.com/darsain/remove-trailing-separator#readme",
41 "devDependencies": {
42 "ava": "^0.16.0",
43 "coveralls": "^2.11.14",
44 "nyc": "^8.3.0",
45 "xo": "^0.16.0"
46 },
47 "gitHead": "9fcadf4bb47cba04d0db289e99588bae2c2e4652",
48 "_id": "[email protected]",
49 "_shasum": "863e2487d500b02d4907034e79f1e9d74008b7d7",
50 "_from": ".",
51 "_npmVersion": "3.10.5",
52 "_nodeVersion": "6.4.0",
53 "_npmUser": {
54 "name": "darsain",
55 "email": "[email protected]"
56 },
57 "maintainers": [
58 {
59 "name": "darsain",
60 "email": "[email protected]"
61 }
62 ],
63 "dist": {
64 "shasum": "863e2487d500b02d4907034e79f1e9d74008b7d7",
65 "tarball": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.0.tgz"
66 },
67 "_npmOperationalInternal": {
68 "host": "packages-12-west.internal.npmjs.com",
69 "tmp": "tmp/remove-trailing-separator-1.0.0.tgz_1474707642610_0.7080434774979949"
70 },
71 "directories": {}
72 },
73 "1.0.1": {
74 "name": "remove-trailing-separator",
75 "version": "1.0.1",
76 "description": "Removes separators from the end of the string.",
77 "main": "index.js",
78 "files": [
79 "index.js"
80 ],
81 "scripts": {
82 "lint": "xo",
83 "pretest": "npm run lint",
84 "test": "nyc ava",
85 "report": "nyc report --reporter=html"
86 },
87 "repository": {
88 "type": "git",
89 "url": "git+https://github.com/darsain/remove-trailing-separator.git"
90 },
91 "keywords": [
92 "remove",
93 "strip",
94 "trailing",
95 "separator"
96 ],
97 "author": {
98 "name": "darsain"
99 },
100 "license": "ISC",
101 "bugs": {
102 "url": "https://github.com/darsain/remove-trailing-separator/issues"
103 },
104 "homepage": "https://github.com/darsain/remove-trailing-separator#readme",
105 "devDependencies": {
106 "ava": "^0.16.0",
107 "coveralls": "^2.11.14",
108 "nyc": "^8.3.0",
109 "xo": "^0.16.0"
110 },
111 "gitHead": "8a5da3ac1efb1314d55e50a2a923b068d500d77a",
112 "_id": "[email protected]",
113 "_shasum": "615ebb96af559552d4bf4057c8436d486ab63cc4",
114 "_from": ".",
115 "_npmVersion": "3.10.5",
116 "_nodeVersion": "6.4.0",
117 "_npmUser": {
118 "name": "darsain",
119 "email": "[email protected]"
120 },
121 "maintainers": [
122 {
123 "name": "darsain",
124 "email": "[email protected]"
125 }
126 ],
127 "dist": {
128 "shasum": "615ebb96af559552d4bf4057c8436d486ab63cc4",
129 "tarball": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz"
130 },
131 "_npmOperationalInternal": {
132 "host": "packages-16-east.internal.npmjs.com",
133 "tmp": "tmp/remove-trailing-separator-1.0.1.tgz_1474797962066_0.45308714639395475"
134 },
135 "directories": {}
136 },
137 "1.0.2": {
138 "name": "remove-trailing-separator",
139 "version": "1.0.2",
140 "description": "Removes separators from the end of the string.",
141 "main": "index.js",
142 "files": [
143 "index.js"
144 ],
145 "scripts": {
146 "lint": "xo",
147 "pretest": "npm run lint",
148 "test": "nyc ava",
149 "report": "nyc report --reporter=html"
150 },
151 "repository": {
152 "type": "git",
153 "url": "git+https://github.com/darsain/remove-trailing-separator.git"
154 },
155 "keywords": [
156 "remove",
157 "strip",
158 "trailing",
159 "separator"
160 ],
161 "author": {
162 "name": "darsain"
163 },
164 "license": "ISC",
165 "bugs": {
166 "url": "https://github.com/darsain/remove-trailing-separator/issues"
167 },
168 "homepage": "https://github.com/darsain/remove-trailing-separator#readme",
169 "devDependencies": {
170 "ava": "^0.16.0",
171 "coveralls": "^2.11.14",
172 "nyc": "^8.3.0",
173 "xo": "^0.16.0"
174 },
175 "gitHead": "6dd7a71b3228fb48a400e3a8ec26e45e8ca50bc3",
176 "_id": "[email protected]",
177 "_shasum": "69b062d978727ad14dc6b56ba4ab772fd8d70511",
178 "_from": ".",
179 "_npmVersion": "4.2.0",
180 "_nodeVersion": "7.6.0",
181 "_npmUser": {
182 "name": "darsain",
183 "email": "[email protected]"
184 },
185 "maintainers": [
186 {
187 "name": "darsain",
188 "email": "[email protected]"
189 }
190 ],
191 "dist": {
192 "shasum": "69b062d978727ad14dc6b56ba4ab772fd8d70511",
193 "tarball": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz"
194 },
195 "_npmOperationalInternal": {
196 "host": "s3://npm-registry-packages",
197 "tmp": "tmp/remove-trailing-separator-1.0.2.tgz_1496857602409_0.28459417447447777"
198 },
199 "directories": {}
200 },
201 "1.1.0": {
202 "name": "remove-trailing-separator",
203 "version": "1.1.0",
204 "description": "Removes separators from the end of the string.",
205 "main": "index.js",
206 "files": [
207 "index.js"
208 ],
209 "scripts": {
210 "lint": "xo",
211 "pretest": "npm run lint",
212 "test": "nyc ava",
213 "report": "nyc report --reporter=html"
214 },
215 "repository": {
216 "type": "git",
217 "url": "git+https://github.com/darsain/remove-trailing-separator.git"
218 },
219 "keywords": [
220 "remove",
221 "strip",
222 "trailing",
223 "separator"
224 ],
225 "author": {
226 "name": "darsain"
227 },
228 "license": "ISC",
229 "bugs": {
230 "url": "https://github.com/darsain/remove-trailing-separator/issues"
231 },
232 "homepage": "https://github.com/darsain/remove-trailing-separator#readme",
233 "devDependencies": {
234 "ava": "^0.16.0",
235 "coveralls": "^2.11.14",
236 "nyc": "^8.3.0",
237 "xo": "^0.16.0"
238 },
239 "gitHead": "f4e8acca09106efeef5a5164f1ad2192fe97fd69",
240 "_id": "[email protected]",
241 "_shasum": "c24bce2a283adad5bc3f58e0d48249b92379d8ef",
242 "_from": ".",
243 "_npmVersion": "4.2.0",
244 "_nodeVersion": "7.6.0",
245 "_npmUser": {
246 "name": "darsain",
247 "email": "[email protected]"
248 },
249 "maintainers": [
250 {
251 "name": "darsain",
252 "email": "[email protected]"
253 }
254 ],
255 "dist": {
256 "shasum": "c24bce2a283adad5bc3f58e0d48249b92379d8ef",
257 "tarball": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz"
258 },
259 "_npmOperationalInternal": {
260 "host": "s3://npm-registry-packages",
261 "tmp": "tmp/remove-trailing-separator-1.1.0.tgz_1502872321750_0.834721862571314"
262 },
263 "directories": {}
264 }
265 },
266 "readme": "# remove-trailing-separator\n\n[![NPM version][npm-img]][npm-url] [![Build Status: Linux][travis-img]][travis-url] [![Build Status: Windows][appveyor-img]][appveyor-url] [![Coverage Status][coveralls-img]][coveralls-url]\n\nRemoves all separators from the end of a string.\n\n## Install\n\n```\nnpm install remove-trailing-separator\n```\n\n## Examples\n\n```js\nconst removeTrailingSeparator = require('remove-trailing-separator');\n\nremoveTrailingSeparator('/foo/bar/') // '/foo/bar'\nremoveTrailingSeparator('/foo/bar///') // '/foo/bar'\n\n// leaves only/last separator\nremoveTrailingSeparator('/') // '/'\nremoveTrailingSeparator('///') // '/'\n\n// returns empty string\nremoveTrailingSeparator('') // ''\n```\n\n## Notable backslash, or win32 separator behavior\n\n`\\` is considered a separator only on WIN32 systems. All POSIX compliant systems\nsee backslash as a valid file name character, so it would break POSIX compliance\nto remove it there.\n\nIn practice, this means that this code will return different things depending on\nwhat system it runs on:\n\n```js\nremoveTrailingSeparator('\\\\foo\\\\')\n// UNIX => '\\\\foo\\\\'\n// WIN32 => '\\\\foo'\n```\n\n[npm-url]: https://npmjs.org/package/remove-trailing-separator\n[npm-img]: https://badge.fury.io/js/remove-trailing-separator.svg\n[travis-url]: https://travis-ci.org/darsain/remove-trailing-separator\n[travis-img]: https://travis-ci.org/darsain/remove-trailing-separator.svg?branch=master\n[appveyor-url]: https://ci.appveyor.com/project/darsain/remove-trailing-separator/branch/master\n[appveyor-img]: https://ci.appveyor.com/api/projects/status/wvg9a93rrq95n2xl/branch/master?svg=true\n[coveralls-url]: https://coveralls.io/github/darsain/remove-trailing-separator?branch=master\n[coveralls-img]: https://coveralls.io/repos/github/darsain/remove-trailing-separator/badge.svg?branch=master\n",
267 "maintainers": [
268 {
269 "name": "darsain",
270 "email": "[email protected]"
271 }
272 ],
273 "time": {
274 "modified": "2017-08-16T08:32:02.606Z",
275 "created": "2016-09-24T09:00:44.254Z",
276 "1.0.0": "2016-09-24T09:00:44.254Z",
277 "1.0.1": "2016-09-25T10:06:03.280Z",
278 "1.0.2": "2017-06-07T17:46:43.351Z",
279 "1.1.0": "2017-08-16T08:32:02.606Z"
280 },
281 "homepage": "https://github.com/darsain/remove-trailing-separator#readme",
282 "keywords": [
283 "remove",
284 "strip",
285 "trailing",
286 "separator"
287 ],
288 "repository": {
289 "type": "git",
290 "url": "git+https://github.com/darsain/remove-trailing-separator.git"
291 },
292 "author": {
293 "name": "darsain"
294 },
295 "bugs": {
296 "url": "https://github.com/darsain/remove-trailing-separator/issues"
297 },
298 "license": "ISC",
299 "readmeFilename": "readme.md",
300 "users": {
301 "yedaodao": true
302 },
303 "_attachments": {}
304 }