| 1 |
{ |
| 2 |
"_id": "strip-eof", |
| 3 |
"_rev": "5-fd3cc05081671d890398a7ad801715ee", |
| 4 |
"name": "strip-eof", |
| 5 |
"description": "Strip the final newline character from a string/buffer", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "strip-eof", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Strip the End-Of-File (EOF) character from a string/buffer", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/strip-eof" |
| 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 |
"strip", |
| 35 |
"trim", |
| 36 |
"remove", |
| 37 |
"delete", |
| 38 |
"eof", |
| 39 |
"end", |
| 40 |
"file", |
| 41 |
"newline", |
| 42 |
"linebreak", |
| 43 |
"character", |
| 44 |
"string", |
| 45 |
"buffer" |
| 46 |
], |
| 47 |
"devDependencies": { |
| 48 |
"ava": "*", |
| 49 |
"xo": "*" |
| 50 |
}, |
| 51 |
"gitHead": "365dfe6c19b4e607a0cc2cf7dad0b0620f238333", |
| 52 |
"bugs": { |
| 53 |
"url": "https://github.com/sindresorhus/strip-eof/issues" |
| 54 |
}, |
| 55 |
"homepage": "https://github.com/sindresorhus/strip-eof", |
| 56 |
"_id": "[email protected]", |
| 57 |
"_shasum": "bb43ff5598a6eb05d89b59fcd129c983313606bf", |
| 58 |
"_from": ".", |
| 59 |
"_npmVersion": "2.14.7", |
| 60 |
"_nodeVersion": "4.2.1", |
| 61 |
"_npmUser": { |
| 62 |
"name": "sindresorhus", |
| 63 |
"email": "[email protected]" |
| 64 |
}, |
| 65 |
"dist": { |
| 66 |
"shasum": "bb43ff5598a6eb05d89b59fcd129c983313606bf", |
| 67 |
"tarball": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz" |
| 68 |
}, |
| 69 |
"maintainers": [ |
| 70 |
{ |
| 71 |
"name": "sindresorhus", |
| 72 |
"email": "[email protected]" |
| 73 |
} |
| 74 |
], |
| 75 |
"directories": {} |
| 76 |
}, |
| 77 |
"2.0.0": { |
| 78 |
"name": "strip-eof", |
| 79 |
"version": "2.0.0", |
| 80 |
"description": "Strip the final newline character from a string/buffer", |
| 81 |
"license": "MIT", |
| 82 |
"repository": { |
| 83 |
"type": "git", |
| 84 |
"url": "git+https://github.com/sindresorhus/strip-eof.git" |
| 85 |
}, |
| 86 |
"author": { |
| 87 |
"name": "Sindre Sorhus", |
| 88 |
"email": "[email protected]", |
| 89 |
"url": "sindresorhus.com" |
| 90 |
}, |
| 91 |
"engines": { |
| 92 |
"node": ">=6" |
| 93 |
}, |
| 94 |
"scripts": { |
| 95 |
"test": "xo && ava" |
| 96 |
}, |
| 97 |
"keywords": [ |
| 98 |
"strip", |
| 99 |
"trim", |
| 100 |
"remove", |
| 101 |
"delete", |
| 102 |
"final", |
| 103 |
"last", |
| 104 |
"end", |
| 105 |
"file", |
| 106 |
"newline", |
| 107 |
"linebreak", |
| 108 |
"character", |
| 109 |
"string", |
| 110 |
"buffer" |
| 111 |
], |
| 112 |
"devDependencies": { |
| 113 |
"ava": "^0.25.0", |
| 114 |
"xo": "^0.23.0" |
| 115 |
}, |
| 116 |
"gitHead": "c2f362408cb129b068a5670af0a886ff665e5438", |
| 117 |
"bugs": { |
| 118 |
"url": "https://github.com/sindresorhus/strip-eof/issues" |
| 119 |
}, |
| 120 |
"homepage": "https://github.com/sindresorhus/strip-eof#readme", |
| 121 |
"_id": "[email protected]", |
| 122 |
"_npmVersion": "6.4.1", |
| 123 |
"_nodeVersion": "10.12.0", |
| 124 |
"_npmUser": { |
| 125 |
"name": "sindresorhus", |
| 126 |
"email": "[email protected]" |
| 127 |
}, |
| 128 |
"dist": { |
| 129 |
"integrity": "sha512-zLsJC+5P5hGu4Zmoq6I4uo6bTf1Nx6Z/vnZedxwnrcfkc38Vz6UiuqGOtS9bewFaoTCDErpqkV7v02htp9KEow==", |
| 130 |
"shasum": "2e3f3c5145d02de826eafb23e65b2faf675448b4", |
| 131 |
"tarball": "https://registry.npmjs.org/strip-eof/-/strip-eof-2.0.0.tgz", |
| 132 |
"fileCount": 4, |
| 133 |
"unpackedSize": 2634, |
| 134 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1XJ+CRA9TVsSAnZWagAAArIP/34FbuiZ17N1dQGREGYk\nyG2hvd5hR4rVGVjU4/QDPVlgJzXFmCmxlpKgy+pa9Igpc7ouHiqwCCwrPbgz\nigYNp3R/EkRcUx+VkkiF3P2HKCBgnOvmPFQJ3OCqmQ2/zEZ7SiDnA52JTply\nihJtrc98kyKCPbe2sYnmA4os4bfoIIek+yz10vKkpQdhZa2JCONdcui9XnAQ\ni0fYxVa7c+rkvM9U/PQbLhNiOdBgRhRgWvcqv/F26f9mX8ZDPwcIK3VYFmna\nEgEva1N0H0+Mc5WoVrrq0RmdqqX6IBnvVUXVMxyZxHXOQRfd8PgggZxFD2v3\nWdYzeZuTvhYtciWnphRVi2KOQ87Sc4i42OPDENoJMeCmPwWajWHXCvaqJAH8\npln3pCPvSz/wQFry0gkeQoTVcNIdIOtj3fmj25HlAfUtIUXQZ0Fy2i608I6a\nCEQzhY9GxHpxtz+Ljf69cgoWp+EDSYhKtJs3k97O9ASW1IuymDxeAz9YqBAF\nsVCToV3OYPjrfz2C0/juFRPg2UgCs6p8XnoG3XTQtv/7i/SW2cB8cszsP6nb\nXpVC1nwoiF/WWFRmXTbJpHVJS6VQZY+Z2X7HLF+9p9XEWGt6n2OdOOtSbYit\nDYOzIKjvtskLFxHwo1k5+QOZoMLhIl9vGWdOiYvuEIvey10ZJiMVlrF+96O3\nUY48\r\n=pxER\r\n-----END PGP SIGNATURE-----\r\n" |
| 135 |
}, |
| 136 |
"maintainers": [ |
| 137 |
{ |
| 138 |
"name": "sindresorhus", |
| 139 |
"email": "[email protected]" |
| 140 |
} |
| 141 |
], |
| 142 |
"directories": {}, |
| 143 |
"_npmOperationalInternal": { |
| 144 |
"host": "s3://npm-registry-packages", |
| 145 |
"tmp": "tmp/strip-eof_2.0.0_1540715134076_0.3997127143864665" |
| 146 |
}, |
| 147 |
"_hasShrinkwrap": false, |
| 148 |
"deprecated": "Renamed to `strip-final-newline` to better represent its functionality." |
| 149 |
} |
| 150 |
}, |
| 151 |
"readme": "# strip-eof [](https://travis-ci.com/sindresorhus/strip-eof)\n\n> Strip the [End-Of-File](https://en.wikipedia.org/wiki/End-of-file) (EOF) character from a string/buffer\n\n\n## Install\n\n```\n$ npm install strip-eof\n```\n\n\n## Usage\n\n```js\nconst stripEof = require('strip-eof');\n\nstripEof('foo\\nbar\\n\\n');\n//=> 'foo\\nbar\\n'\n\nstripEof(Buffer.from('foo\\nbar\\n\\n')).toString();\n//=> 'foo\\nbar\\n'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 152 |
"maintainers": [ |
| 153 |
{ |
| 154 |
"name": "sindresorhus", |
| 155 |
"email": "[email protected]" |
| 156 |
} |
| 157 |
], |
| 158 |
"time": { |
| 159 |
"modified": "2019-01-05T13:39:14.549Z", |
| 160 |
"created": "2015-12-05T11:49:53.556Z", |
| 161 |
"1.0.0": "2015-12-05T11:49:53.556Z", |
| 162 |
"2.0.0": "2018-10-28T08:25:34.212Z" |
| 163 |
}, |
| 164 |
"homepage": "https://github.com/sindresorhus/strip-eof#readme", |
| 165 |
"keywords": [ |
| 166 |
"strip", |
| 167 |
"trim", |
| 168 |
"remove", |
| 169 |
"delete", |
| 170 |
"final", |
| 171 |
"last", |
| 172 |
"end", |
| 173 |
"file", |
| 174 |
"newline", |
| 175 |
"linebreak", |
| 176 |
"character", |
| 177 |
"string", |
| 178 |
"buffer" |
| 179 |
], |
| 180 |
"repository": { |
| 181 |
"type": "git", |
| 182 |
"url": "git+https://github.com/sindresorhus/strip-eof.git" |
| 183 |
}, |
| 184 |
"author": { |
| 185 |
"name": "Sindre Sorhus", |
| 186 |
"email": "[email protected]", |
| 187 |
"url": "sindresorhus.com" |
| 188 |
}, |
| 189 |
"bugs": { |
| 190 |
"url": "https://github.com/sindresorhus/strip-eof/issues" |
| 191 |
}, |
| 192 |
"license": "MIT", |
| 193 |
"readmeFilename": "readme.md" |
| 194 |
} |