{"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":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"09c4f53e3197e61d93a8c728ed572bad57fa234f","tarball":"http://registry-npm.ywwl.com/trim-off-newlines/download/trim-off-newlines-1.0.0.tgz","integrity":"sha512-bA30jQPrRBE9ObnI3BGGCtuCBZYex08s0IrGp/aFs7az7KEBrvGo/4GxC4wKuKj7Kxk8OEzAwzUTDo51eaKU4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJyl3evVGCNGCyI6dNBptmZgT7oQgRd9eY+v4MY/la9wIhAO+Lq73fZ8Prhwq/Ia6t6S8VJ2bEzdqIdp2/34WYRtcA"}],"size":1489,"noattachment":false,"key":"/trim-off-newlines/-/trim-off-newlines-1.0.0.tgz"},"directories":{},"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":1442537569189,"_cnpm_publish_time":1442537569189,"dist-tags":{"latest":"1.0.3"}}