{"name":"trim-off-newlines","version":"1.0.3","description":"Similar to String#trim() but removes only newlines","license":"MIT","repository":{"type":"git","url":"git+https://github.com/stevemao/trim-off-newlines.git"},"author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"github.com/stevemao"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && mocha"},"keywords":["trim","newlines","new-lines","newline","new-lines","string","str","util","utils","utility","whitespace","space","remove","delete"],"devDependencies":{"mocha":"^3.5.3","xo":"^0.17.1"},"xo":{"envs":["node","mocha"]},"gitHead":"c3b28d395cf249f77803e9e42e302d129e8b8a8f","bugs":{"url":"https://github.com/stevemao/trim-off-newlines/issues"},"homepage":"https://github.com/stevemao/trim-off-newlines#readme","_id":"trim-off-newlines@1.0.3","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-kh6Tu6GbeSNMGfrrZh6Bb/4ZEHV1QlB4xNDBeog8Y9/QwFlKTRyWvY3Fs9tRDAMZliVUwieMgEdIeL/FtqjkJg==","shasum":"8df24847fcb821b0ab27d58ab6efec9f2fe961a1","tarball":"http://registry-npm.ywwl.com/trim-off-newlines/download/trim-off-newlines-1.0.3.tgz","fileCount":4,"unpackedSize":3067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2+RDCRA9TVsSAnZWagAAYOIP/3iP8ihYhr9CBRQUxrKa\nJPp041lJtUXZXwbvdaDcaGCwIEDcmmFCSbGUUQJR5bnetvMXBndXlWCHRrFX\nlWCODBe1ECgxObTRGTIodmiu9oFmj3qDAgmMje9UJGHyeMSxACA3j6cGbTlE\nFWNCQPqJ9ugA2aGtnSAc5KEHrwHfNQZzSnZi1N/3iVjn+bFgaRvu3s2Va3vZ\nPEdrrMwETp9N6OFFU295YXDc+w3PSCNUAm6Y8zEZRykpjpRdBaQqMZlU5gAJ\nL8rfp1zp72+H4su4DjnEJHsZuhp7RqIucy5JZPFcHvgDYNXus5h2keRLze/e\nrKcWxHW7ighKwcvfLC0ADxGiTCGEmjApvaGwNCKpUrwrbuOwY8bYsJKAgPit\nI9/psYBZmAYVG/ft2h67kpALZqwYyoWpRP2k68BRhgrJqjYEmk58v2iYWQ48\nNpZtiAespXZ44FIaMeNu2F/HK2glkl2LqQGm2IhNWGmAvUHg6MZPle/gOCAR\nA+sv5O5nFhrnF4xa9IopJ6R4ksxBGENayKhpr6VIfYmqKknbP5cyteAn0BdQ\njOFVhpzA0WL2HJDawnJyJx5nii9miPAUekPTKeVLP71kEKbCzL3sYoZ659Kf\nE3LQpihKgF569ZVKACtodyiBg4htK99S9Jd1orGdxd1nn9JUq+hl9W0qTSqu\ncYf0\r\n=paNt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQ6zKpu0CvgVMy5UlzKUTqp60+t+U4gpgx4pWnVYg1EAiEArdBcYQEgZvS4fav+qvPa15bdkkoo5qCrYxLgAz8Is14="}],"size":1668,"noattachment":false,"key":"/trim-off-newlines/-/trim-off-newlines-1.0.3.tgz"},"_npmUser":{"name":"trott","email":"rtrott@gmail.com"},"directories":{},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"trott","email":"rtrott@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trim-off-newlines_1.0.3_1635056420775_0.07725402411655247"},"_hasShrinkwrap":false,"readme":"# trim-off-newlines [![Build Status](https://travis-ci.org/stevemao/trim-off-newlines.svg?branch=master)](https://travis-ci.org/stevemao/trim-off-newlines)\n\n> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only newlines\n\n\n## Install\n\n```\n$ npm install --save trim-off-newlines\n```\n\n\n## Usage\n\n```js\nvar trimOffNewlines = require('trim-off-newlines');\n\ntrimOffNewlines('\\n\\nunicorns\\n\\n');\n//=> 'unicorns'\n```\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 © [Steve Mao](https://github.com/stevemao)\n","publish_time":1635056420895,"_cnpm_publish_time":1635056420895,"dist-tags":{"latest":"1.0.3"}}