{"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://registry-npm.ywwl.com/trim-off-newlines/download/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="}],"size":1590,"noattachment":false,"key":"/trim-off-newlines/-/trim-off-newlines-1.0.2.tgz"},"_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"directories":{},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trim-off-newlines_1.0.2_1631853546032_0.31827682639527777"},"_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":1631853546250,"_cnpm_publish_time":1631853546250,"dist-tags":{"latest":"1.0.3"}}