Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/strip-final-newline.json

raw
1 {
2 "_id": "strip-final-newline",
3 "name": "strip-final-newline",
4 "dist-tags": {
5 "latest": "2.0.0"
6 },
7 "versions": {
8 "2.0.0": {
9 "name": "strip-final-newline",
10 "version": "2.0.0",
11 "description": "Strip the final newline character from a string/buffer",
12 "license": "MIT",
13 "repository": {
14 "type": "git",
15 "url": "git+https://github.com/sindresorhus/strip-final-newline.git"
16 },
17 "author": {
18 "name": "Sindre Sorhus",
19 "email": "[email protected]",
20 "url": "sindresorhus.com"
21 },
22 "engines": {
23 "node": ">=6"
24 },
25 "scripts": {
26 "test": "xo && ava"
27 },
28 "keywords": [
29 "strip",
30 "trim",
31 "remove",
32 "delete",
33 "final",
34 "last",
35 "end",
36 "file",
37 "newline",
38 "linebreak",
39 "character",
40 "string",
41 "buffer"
42 ],
43 "devDependencies": {
44 "ava": "^0.25.0",
45 "xo": "^0.23.0"
46 },
47 "gitHead": "51c93d6c8683d9fd1cacdb32f2afebac9a1155a1",
48 "bugs": {
49 "url": "https://github.com/sindresorhus/strip-final-newline/issues"
50 },
51 "homepage": "https://github.com/sindresorhus/strip-final-newline#readme",
52 "_id": "[email protected]",
53 "_npmVersion": "6.4.1",
54 "_nodeVersion": "10.12.0",
55 "_npmUser": {
56 "name": "sindresorhus",
57 "email": "[email protected]"
58 },
59 "dist": {
60 "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
61 "shasum": "89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad",
62 "tarball": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
63 "fileCount": 4,
64 "unpackedSize": 3046,
65 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1XUbCRA9TVsSAnZWagAADe4QAIKfZKKn8CFHig0M8lfl\nZWkRAV+2dJAbhILvIrrCYcIZC3A8ICj5GwY5ujeKev8hqkxDe+VfRQRylDTn\nUXCLYMbpV+197qpQb7X6Wdu8ISfIE/zQpBqbGReK/ddJKFHQaIIRG0VWSqWm\nP6R0ICgQPAbMBZ8nYjBjRNvgiseqMwlyxXj1hNKuAR404dGDVIhSzwmg4vku\nmp4FOCDptmFvA/mSzOE/Ochwcdz2wQd6PLtHmCIHzLEvl2z8J4Qaagxwi8yn\neZtQs3B8xtNCKaXOZQYcOMAqZxC4dMGzIEqW3CX9Me9y2p1lHbws55uvNVcX\nHh88Y6/05jr6L6N19ZULpPv9bb5FUcHAOHZFvLhhAl9eQ2WxkZV0IYub5QT7\ngHfcTadB8Mqmw0y58qDwomMLcOXVTwhQYi22OnjTg8pIRq+bfHJzOSgnK7Aa\n464iiikCjO7hG9OfPlpiWdibmFzj8WEsEkzMs6Zeb3uMw6fS8UXTkYLQPzoc\nEtAtOx6PtyKg5Ajl4xlIt4cA24hzsnJs6lJOD89Pd+VIJwihKltOgvOtPN3q\nQ4d2o7S/Ea+e4wIPs6ls4ZWUs5vB7TRQWfrOAeANGxuUSWT+7foTMFBSpOXe\nvxVGokKs1tlzCcbGvew1ZIe+b7RcDbSBr1RwZEo9U41ETveKELS33/Y7oeeL\n2j7u\r\n=W7iG\r\n-----END PGP SIGNATURE-----\r\n"
66 },
67 "maintainers": [
68 {
69 "name": "sindresorhus",
70 "email": "[email protected]"
71 }
72 ],
73 "directories": {},
74 "_npmOperationalInternal": {
75 "host": "s3://npm-registry-packages",
76 "tmp": "tmp/strip-final-newline_2.0.0_1540715802035_0.22560465362477622"
77 },
78 "_hasShrinkwrap": false
79 }
80 },
81 "time": {
82 "created": "2018-10-28T08:36:42.035Z",
83 "2.0.0": "2018-10-28T08:36:42.180Z",
84 "modified": "2018-10-28T08:36:45.052Z"
85 },
86 "maintainers": [
87 {
88 "name": "sindresorhus",
89 "email": "[email protected]"
90 }
91 ],
92 "description": "Strip the final newline character from a string/buffer",
93 "homepage": "https://github.com/sindresorhus/strip-final-newline#readme",
94 "keywords": [
95 "strip",
96 "trim",
97 "remove",
98 "delete",
99 "final",
100 "last",
101 "end",
102 "file",
103 "newline",
104 "linebreak",
105 "character",
106 "string",
107 "buffer"
108 ],
109 "repository": {
110 "type": "git",
111 "url": "git+https://github.com/sindresorhus/strip-final-newline.git"
112 },
113 "author": {
114 "name": "Sindre Sorhus",
115 "email": "[email protected]",
116 "url": "sindresorhus.com"
117 },
118 "bugs": {
119 "url": "https://github.com/sindresorhus/strip-final-newline/issues"
120 },
121 "license": "MIT",
122 "readme": "# strip-final-newline [![Build Status](https://travis-ci.com/sindresorhus/strip-final-newline.svg?branch=master)](https://travis-ci.com/sindresorhus/strip-final-newline)\n\n> Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from a string/buffer\n\nCan be useful when parsing the output of, for example, `ChildProcess#execFile`, as [binaries usually output a newline at the end](https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline). Normally, you would use `stdout.trim()`, but that would also remove newlines at the start and whitespace.\n\n\n## Install\n\n```\n$ npm install strip-final-newline\n```\n\n\n## Usage\n\n```js\nconst stripFinalNewline = require('strip-final-newline');\n\nstripFinalNewline('foo\\nbar\\n\\n');\n//=> 'foo\\nbar\\n'\n\nstripFinalNewline(Buffer.from('foo\\nbar\\n\\n')).toString();\n//=> 'foo\\nbar\\n'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
123 "readmeFilename": "readme.md"
124 }