{"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":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"9f9ba9d9efa8764c387698bcbfeb2c848f11adb3","tarball":"http://registry-npm.ywwl.com/trim-off-newlines/download/trim-off-newlines-1.0.1.tgz","integrity":"sha512-cklgulxoLavCJlZSWdKzEuKFRFwyRUS3h4tfvSo8uSGrtrPNcAHeKmftGuA684vonXdvKgdX6cMKF8SBjywN1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRQFuqgeA1EaFK3xLTLO/WNv1jmq5kDbOu4yBybbMPxQIgHL87vN7uW8AzM3PJNkvAyNGOXk1iZ7WSFkQPiAUTPWY="}],"size":1610,"noattachment":false,"key":"/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz"},"maintainers":[{"name":"stevemao","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":{},"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":1468837526826,"_cnpm_publish_time":1468837526826,"dist-tags":{"latest":"1.0.3"}}