{"maintainers":[{"name":"anonymous","email":"maochenyan@gmail.com"},{"name":"anonymous","email":"rtrott@gmail.com"}],"keywords":["trim","newlines","new-lines","newline","new-lines","string","str","util","utils","utility","whitespace","space","remove","delete"],"dist-tags":{"latest":"1.0.3"},"author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"github.com/stevemao"},"description":"Similar to String#trim() but removes only newlines","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","repository":{"type":"git","url":"git+https://github.com/stevemao/trim-off-newlines.git"},"users":{"muhammadghazali":true},"bugs":{"url":"https://github.com/stevemao/trim-off-newlines/issues"},"license":"MIT","versions":{"0.0.0":{"name":"trim-off-newlines","version":"0.0.0","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"},"files":["index.js"],"keywords":["trim","newlines","new-lines","newline","new-lines","string","str","util","utils","utility","whitespace","space","remove","delete"],"dependencies":{},"devDependencies":{"mocha":"*","xo":"*"},"xo":{"envs":["node","mocha"]},"gitHead":"c0623a30a7a351dbda13289e92b3f9e97ac15bd2","bugs":{"url":"https://github.com/stevemao/trim-off-newlines/issues"},"homepage":"https://github.com/stevemao/trim-off-newlines#readme","_id":"trim-off-newlines@0.0.0","_shasum":"49ae202b183583480fed5236e02083010927a245","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"49ae202b183583480fed5236e02083010927a245","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/trim-off-newlines/-/trim-off-newlines-0.0.0.tgz","integrity":"sha512-LoYarSA9CBdKgstfq9Igzu68KY6G/QPxBMhsOsnU3nWk2mjRKpLk41gBccCrIx0QMugw4mrXtRobvLB2oVQPLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt0C0Euo9B25fdcVUfLYPDGnokWGeYffGTRqo/y25XkAiEAhhgdfmOU3R8V5IrJKAvM506wn1/+0DNWnWycht35r3U="}]},"directories":{}},"1.0.0":{"name":"trim-off-newlines","version":"1.0.0","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"},"files":["index.js"],"keywords":["trim","newlines","new-lines","newline","new-lines","string","str","util","utils","utility","whitespace","space","remove","delete"],"dependencies":{},"devDependencies":{"mocha":"*","xo":"*"},"xo":{"envs":["node","mocha"]},"gitHead":"5ed67d2ef8cff80c24930ddfa8d78388c180c456","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.0","_shasum":"09c4f53e3197e61d93a8c728ed572bad57fa234f","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"anonymous","email":"maochenyan@gmail.com"}],"dist":{"shasum":"09c4f53e3197e61d93a8c728ed572bad57fa234f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/trim-off-newlines/-/trim-off-newlines-1.0.0.tgz","integrity":"sha512-bA30jQPrRBE9ObnI3BGGCtuCBZYex08s0IrGp/aFs7az7KEBrvGo/4GxC4wKuKj7Kxk8OEzAwzUTDo51eaKU4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJyl3evVGCNGCyI6dNBptmZgT7oQgRd9eY+v4MY/la9wIhAO+Lq73fZ8Prhwq/Ia6t6S8VJ2bEzdqIdp2/34WYRtcA"}]},"directories":{}},"1.0.1":{"name":"trim-off-newlines","version":"1.0.1","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"},"files":["index.js"],"keywords":["trim","newlines","new-lines","newline","new-lines","string","str","util","utils","utility","whitespace","space","remove","delete"],"dependencies":{},"devDependencies":{"mocha":"*","xo":"*"},"xo":{"envs":["node","mocha"]},"gitHead":"3a728c951e87fe006c65e7504e39882d48936b35","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.1","_shasum":"9f9ba9d9efa8764c387698bcbfeb2c848f11adb3","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"dist":{"shasum":"9f9ba9d9efa8764c387698bcbfeb2c848f11adb3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz","integrity":"sha512-cklgulxoLavCJlZSWdKzEuKFRFwyRUS3h4tfvSo8uSGrtrPNcAHeKmftGuA684vonXdvKgdX6cMKF8SBjywN1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRQFuqgeA1EaFK3xLTLO/WNv1jmq5kDbOu4yBybbMPxQIgHL87vN7uW8AzM3PJNkvAyNGOXk1iZ7WSFkQPiAUTPWY="}]},"maintainers":[{"name":"anonymous","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/trim-off-newlines-1.0.1.tgz_1468837526622_0.67790816584602"},"directories":{}},"1.0.2":{"name":"trim-off-newlines","version":"1.0.2","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":"*","xo":"^0.17.1"},"xo":{"envs":["node","mocha"]},"gitHead":"8cd3f73a138dd479db9cfb1b42d235c71499c297","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.2","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-DAnbtY4lNoOTLw05HLuvPoBFAGV4zOKQ9d1Q45JB+bcDwYIEkCr0xNgwKtygtKFBbRlFA/8ytkAM1V09QGWksg==","shasum":"65d52e4f4115992c0dac87220bdcc279fe58c422","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/trim-off-newlines/-/trim-off-newlines-1.0.2.tgz","fileCount":4,"unpackedSize":2852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhRBvqCRA9TVsSAnZWagAAWvgP/3DVCcoQvl3e9UavoKzD\ngZLT3FFixfYkCd2BdrjEfZpZHuo1+PadpRKlCcMqsFYc41dHMickuEV+XERw\nQ5NfOTTyET9mAiW2f3oJ8urwQatHJXJ5EY/DJadOkHkCy2A3DI8SUx4V2TjH\nbRnokXU1GCDv2NhKnd/ICF15cXwI8daCUjjY7XnE8+3YublR52tm/7Oz3Ues\nioQ1uLs8uSkyWvTtDXSQ9MqD/GUdJpFZ2Z80v50f0pZEeFn7aR0yIIksklZi\nPFbwqJPDzqGGDo0LVbkyXVDLmy0iJI+ntKAMtE09TFFXBhx54TEmI4JGEhdA\n9cm4V3vPhHbf7LTpCJkaOu64YC5sk2ZmfsL9Hsr+rPNOV9f/CZbhSStbq3Wn\ntD4L2NRfYsU1mLwAfASC14Dq0bVCnKpT3ZDyH20kvv7NPWUXBrXlR0RpTsDr\nAXMwiJaI3V0rAMUubOx5lnx4HTtp8rpLjACcaLQSzwPbLXP2zbKbSzXhqga8\nTo5wEOPerg9CAYdBp2wedRphHBMQplyM5mYa6ytq6tPmG2cQ9p31PJYxrNFB\nlRyxD4gfemFT/ZfOLEfTR9FxRMrnWGXNBecEhqg0AqsU+CrOxF0elgrBcpYE\nb4MJO/HPW2Ci6SHXkLNIUKwrrQnL0hYMiGP/JEz8TD4pFCm3INIZlHuhdF/8\nu84I\r\n=+FKX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2Qotn4dHLwJ4WVVplYuHIQ5mwzDrRxEwpAOB0xGj/AgIgcybp6uU055EIFqmmSMQOo7yafRUWmMFM4fOzLsr7vR4="}]},"_npmUser":{"name":"anonymous","email":"maochenyan@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trim-off-newlines_1.0.2_1631853546032_0.31827682639527777"},"_hasShrinkwrap":false},"1.0.3":{"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://repository.ncinga.com/nexus/content/groups/npm-all/trim-off-newlines/-/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="}]},"_npmUser":{"name":"anonymous","email":"rtrott@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"maochenyan@gmail.com"},{"name":"anonymous","email":"rtrott@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trim-off-newlines_1.0.3_1635056420775_0.07725402411655247"},"_hasShrinkwrap":false}},"name":"trim-off-newlines","time":{"modified":"2022-06-27T21:23:10.403Z","created":"2015-09-18T00:46:02.776Z","0.0.0":"2015-09-18T00:46:02.776Z","1.0.0":"2015-09-18T00:52:49.189Z","1.0.1":"2016-07-18T10:25:26.826Z","1.0.2":"2021-09-17T04:39:06.250Z","1.0.3":"2021-10-24T06:20:20.895Z"},"readmeFilename":"readme.md","homepage":"https://github.com/stevemao/trim-off-newlines#readme"}