Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/trim-newlines.json

raw
1 {
2 "_id": "trim-newlines",
3 "_rev": "3-561ddca165bf69d4f3a2a57a5e337c1c",
4 "name": "trim-newlines",
5 "description": "Trim newlines from the start and/or end of a string",
6 "dist-tags": {
7 "latest": "3.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "trim-newlines",
12 "version": "1.0.0",
13 "description": "Trim newlines from the start and/or end of a string",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/trim-newlines"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "trim",
35 "newline",
36 "newlines",
37 "linebreak",
38 "lf",
39 "crlf",
40 "left",
41 "right",
42 "start",
43 "end",
44 "string",
45 "str",
46 "remove",
47 "delete",
48 "strip"
49 ],
50 "devDependencies": {
51 "ava": "*",
52 "xo": "*"
53 },
54 "gitHead": "f651a2d4cbf382c2936e6e53edee9316602e4ce7",
55 "bugs": {
56 "url": "https://github.com/sindresorhus/trim-newlines/issues"
57 },
58 "homepage": "https://github.com/sindresorhus/trim-newlines",
59 "_id": "[email protected]",
60 "_shasum": "5887966bb582a4503a41eb524f7d35011815a613",
61 "_from": ".",
62 "_npmVersion": "2.14.4",
63 "_nodeVersion": "4.1.1",
64 "_npmUser": {
65 "name": "sindresorhus",
66 "email": "[email protected]"
67 },
68 "dist": {
69 "shasum": "5887966bb582a4503a41eb524f7d35011815a613",
70 "tarball": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz"
71 },
72 "maintainers": [
73 {
74 "name": "sindresorhus",
75 "email": "[email protected]"
76 }
77 ],
78 "directories": {}
79 },
80 "2.0.0": {
81 "name": "trim-newlines",
82 "version": "2.0.0",
83 "description": "Trim newlines from the start and/or end of a string",
84 "license": "MIT",
85 "repository": {
86 "type": "git",
87 "url": "git+https://github.com/sindresorhus/trim-newlines.git"
88 },
89 "author": {
90 "name": "Sindre Sorhus",
91 "email": "[email protected]",
92 "url": "sindresorhus.com"
93 },
94 "engines": {
95 "node": ">=4"
96 },
97 "scripts": {
98 "test": "xo && ava"
99 },
100 "files": [
101 "index.js"
102 ],
103 "keywords": [
104 "trim",
105 "newline",
106 "newlines",
107 "linebreak",
108 "lf",
109 "crlf",
110 "left",
111 "right",
112 "start",
113 "end",
114 "string",
115 "str",
116 "remove",
117 "delete",
118 "strip"
119 ],
120 "devDependencies": {
121 "ava": "*",
122 "xo": "*"
123 },
124 "gitHead": "9db1edbbc6ffe44cb8a11ae7690be6044dfe95c7",
125 "bugs": {
126 "url": "https://github.com/sindresorhus/trim-newlines/issues"
127 },
128 "homepage": "https://github.com/sindresorhus/trim-newlines#readme",
129 "_id": "[email protected]",
130 "_shasum": "b403d0b91be50c331dfc4b82eeceb22c3de16d20",
131 "_from": ".",
132 "_npmVersion": "2.15.11",
133 "_nodeVersion": "4.7.3",
134 "_npmUser": {
135 "name": "sindresorhus",
136 "email": "[email protected]"
137 },
138 "dist": {
139 "shasum": "b403d0b91be50c331dfc4b82eeceb22c3de16d20",
140 "tarball": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz"
141 },
142 "maintainers": [
143 {
144 "name": "sindresorhus",
145 "email": "[email protected]"
146 }
147 ],
148 "_npmOperationalInternal": {
149 "host": "packages-18-east.internal.npmjs.com",
150 "tmp": "tmp/trim-newlines-2.0.0.tgz_1492866373755_0.2756255145650357"
151 },
152 "directories": {}
153 },
154 "3.0.0": {
155 "name": "trim-newlines",
156 "version": "3.0.0",
157 "description": "Trim newlines from the start and/or end of a string",
158 "license": "MIT",
159 "repository": {
160 "type": "git",
161 "url": "git+https://github.com/sindresorhus/trim-newlines.git"
162 },
163 "author": {
164 "name": "Sindre Sorhus",
165 "email": "[email protected]",
166 "url": "sindresorhus.com"
167 },
168 "engines": {
169 "node": ">=8"
170 },
171 "scripts": {
172 "test": "xo && ava && tsd"
173 },
174 "keywords": [
175 "trim",
176 "newline",
177 "newlines",
178 "linebreak",
179 "lf",
180 "crlf",
181 "left",
182 "right",
183 "start",
184 "end",
185 "string",
186 "remove",
187 "delete",
188 "strip"
189 ],
190 "devDependencies": {
191 "ava": "^1.4.1",
192 "tsd": "^0.7.2",
193 "xo": "^0.24.0"
194 },
195 "gitHead": "bd3309053f8e8795fb1ba7044000e2fd9c763597",
196 "bugs": {
197 "url": "https://github.com/sindresorhus/trim-newlines/issues"
198 },
199 "homepage": "https://github.com/sindresorhus/trim-newlines#readme",
200 "_id": "[email protected]",
201 "_nodeVersion": "10.15.3",
202 "_npmVersion": "6.9.0",
203 "_npmUser": {
204 "name": "sindresorhus",
205 "email": "[email protected]"
206 },
207 "dist": {
208 "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==",
209 "shasum": "79726304a6a898aa8373427298d54c2ee8b1cb30",
210 "tarball": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz",
211 "fileCount": 5,
212 "unpackedSize": 3700,
213 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxn1xCRA9TVsSAnZWagAASxgP/3+oiwZfVvr/zugu6X/e\nTirVrONOCk3KVRRxt8K55qcNvNpnAxvp3ejzQHRjGbEUK4QDAt4e8tv9ndHd\nn/TVIkgz8PueWotP9yozBtxIjO5JesqoA6GckOhqGMSzXsnz02jhqFOsaOCI\n1E93t5EBOUFkqjSOtn6Cuq2m+RdamGNVM71xllmFQVVRhYs8OmUO42c08psK\nnozkczUzAJAzzh77YcNsPPYREAcejqRc9DR5TLThGYfY6DQ5oqqssJ4ir276\n8+8yXOx81bGL5rvyNGiYIF4hnS71xbWSN7ytZio5oXejwwUBJDLZkRR7Cyaq\nFa/pg7qV5vtOPDenanFU2cdYV4mkHGbhYaWJ0RF0z1GYAUR0/fy2tYG7B9Ow\ndxfKBW7Vi0F1eLSx11CnaX6Yacq5Ca7iUdDlJWfj905n2gADPkwNWkMDY6+0\noEsNzgDhHb52ZdGPVzn9eFwW9l7m+s86A63mAiAOy3YaDJr5chkHyg2Mwz+I\nrA2bTHlvSE4dPc0VIAi8sWmCG1g98vXRiONywE1jx8sAiSbzxdhmV/vNlrCj\nPE7EkzUIukcPcX7CDul9StzlRrTQhcZtfKy8VkhzM4izwFqa8ovklt3jOb+f\nh6Yr5j7Yf4FotxAbXMWyZN7677O6AmJDjTPLilzAuzaakE+1Dten7bRKa8M7\n8+YC\r\n=aQG3\r\n-----END PGP SIGNATURE-----\r\n"
214 },
215 "maintainers": [
216 {
217 "name": "sindresorhus",
218 "email": "[email protected]"
219 }
220 ],
221 "directories": {},
222 "_npmOperationalInternal": {
223 "host": "s3://npm-registry-packages",
224 "tmp": "tmp/trim-newlines_3.0.0_1556512112742_0.7758115744914702"
225 },
226 "_hasShrinkwrap": false
227 }
228 },
229 "readme": "# trim-newlines [![Build Status](https://travis-ci.org/sindresorhus/trim-newlines.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-newlines)\n\n> Trim [newlines](https://en.wikipedia.org/wiki/Newline) from the start and/or end of a string\n\n\n## Install\n\n```\n$ npm install trim-newlines\n```\n\n\n## Usage\n\n```js\nconst trimNewlines = require('trim-newlines');\n\ntrimNewlines('\\nšŸ¦„\\r\\n');\n//=> 'šŸ¦„'\n\ntrimNewlines.start('\\nšŸ¦„\\r\\n');\n//=> 'šŸ¦„\\r\\n'\n\ntrimNewlines.end('\\nšŸ¦„\\r\\n');\n//=> '\\nšŸ¦„'\n```\n\n\n## API\n\n### trimNewlines(string)\n\nTrim from the start and end of a string.\n\n### trimNewlines.start(string)\n\nTrim from the start of a string.\n\n### trimNewlines.end(string)\n\nTrim from the end of a string.\n\n\n## Related\n\n- [trim-left](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left\n- [trim-right](https://github.com/sindresorhus/trim-right) - Similar to `String#trim()` but removes only whitespace on the right.\n\n\n## License\n\nMIT Ā© [Sindre Sorhus](https://sindresorhus.com)\n",
230 "maintainers": [
231 {
232 "name": "sindresorhus",
233 "email": "[email protected]"
234 }
235 ],
236 "time": {
237 "modified": "2019-04-29T04:28:35.365Z",
238 "created": "2015-09-29T09:28:27.741Z",
239 "1.0.0": "2015-09-29T09:28:27.741Z",
240 "2.0.0": "2017-04-22T13:06:15.702Z",
241 "3.0.0": "2019-04-29T04:28:32.845Z"
242 },
243 "homepage": "https://github.com/sindresorhus/trim-newlines#readme",
244 "keywords": [
245 "trim",
246 "newline",
247 "newlines",
248 "linebreak",
249 "lf",
250 "crlf",
251 "left",
252 "right",
253 "start",
254 "end",
255 "string",
256 "remove",
257 "delete",
258 "strip"
259 ],
260 "repository": {
261 "type": "git",
262 "url": "git+https://github.com/sindresorhus/trim-newlines.git"
263 },
264 "author": {
265 "name": "Sindre Sorhus",
266 "email": "[email protected]",
267 "url": "sindresorhus.com"
268 },
269 "bugs": {
270 "url": "https://github.com/sindresorhus/trim-newlines/issues"
271 },
272 "license": "MIT",
273 "readmeFilename": "readme.md"
274 }