{"_id":"line-count","_rev":"319964","name":"line-count","description":"Count the lines in a string.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2024-06-17T19:04:33.000Z","created":"2014-08-25T05:08:42.778Z","0.1.0":"2014-08-25T05:08:42.778Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/line-count.git"},"versions":{"0.1.0":{"name":"line-count","description":"Count the lines in a string.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/line-count","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/line-count.git"},"bugs":{"url":"https://github.com/jonschlinkert/line-count/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/line-count/blob/master/LICENSE-MIT"}],"keywords":["bin","break","breaks","carriage","char","character","count","crlf","delimited","delimiter","end","ending","eol","lf","line","line-break","line-endings","linebreak","linefeed","newline","newlines","nl","return","split","unix","windows"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6"},"_id":"line-count@0.1.0","_shasum":"3749ff3715980c1923096ff869428316bc22af35","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3749ff3715980c1923096ff869428316bc22af35","tarball":"http://registry-npm.ywwl.com/line-count/download/line-count-0.1.0.tgz","integrity":"sha512-7v7MiE8+Se7lXz6MFc/N1hMhXLKsI7bK4kkGUfDZHlsg80//LJJa87at1dxO7ddudleEl2SDMT3tHUmSPeEeTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpjURtwSVsmBDoUhxvEuBPbDeWmXsw2EjhKhOmOF7haAiBth7MalayDoRPXS/2C4AD4rbt1TL1uwwcxH/444Fyzaw=="}],"size":2814,"noattachment":false,"key":"/line-count/-/line-count-0.1.0.tgz"},"directories":{},"publish_time":1408943322778,"_cnpm_publish_time":1408943322778}},"readme":"# line-count [![NPM version](https://badge.fury.io/js/line-count.png)](http://badge.fury.io/js/line-count)\n\n> Count the lines in a string.\n\n## Install\n#### [npm](npmjs.org)\n\n```bash\nnpm i line-count --save\n```\n\n## Usage\n\n```js\nvar count = require('line-count');\nconsole.log(count('a\\nb\\nc'));\n//=> '3'\n\nconsole.log(count('a\\r\\nb\\r\\nc'));\n//=> '3'\n```\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 25, 2014._","_attachments":{},"homepage":"https://github.com/jonschlinkert/line-count","bugs":{"url":"https://github.com/jonschlinkert/line-count/issues"}}