{"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":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"steve.mao@healthinteract.com.au"}],"dist":{"shasum":"49ae202b183583480fed5236e02083010927a245","tarball":"http://registry-npm.ywwl.com/trim-off-newlines/download/trim-off-newlines-0.0.0.tgz","integrity":"sha512-LoYarSA9CBdKgstfq9Igzu68KY6G/QPxBMhsOsnU3nWk2mjRKpLk41gBccCrIx0QMugw4mrXtRobvLB2oVQPLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt0C0Euo9B25fdcVUfLYPDGnokWGeYffGTRqo/y25XkAiEAhhgdfmOU3R8V5IrJKAvM506wn1/+0DNWnWycht35r3U="}],"size":1486,"noattachment":false,"key":"/trim-off-newlines/-/trim-off-newlines-0.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":1442537162776,"_cnpm_publish_time":1442537162776,"dist-tags":{"latest":"1.0.3"}}