{"_id":"count-lines","_rev":"88431","name":"count-lines","description":"Count the lines in a string, works with windows carriage returns or unix style newlines.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:45.000Z","created":"2014-07-14T02:39:48.195Z","0.1.2":"2014-07-14T02:51:20.604Z","0.1.0":"2014-07-14T02:39:48.195Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/count-lines.git"},"versions":{"0.1.2":{"name":"count-lines","description":"Count the lines in a string, works with windows carriage returns or unix style newlines.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/count-lines","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/count-lines.git"},"bugs":{"url":"https://github.com/jonschlinkert/count-lines/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/count-lines/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":{"verb":">= 0.2.6","mocha":"*"},"_id":"count-lines@0.1.2","_shasum":"e33493fb6860a82f7159d8237843fbfaefee5962","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e33493fb6860a82f7159d8237843fbfaefee5962","size":2881,"noattachment":false,"key":"/count-lines/-/count-lines-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/count-lines/download/count-lines-0.1.2.tgz"},"directories":{},"publish_time":1405306280604,"_cnpm_publish_time":1405306280604,"_hasShrinkwrap":false},"0.1.0":{"name":"count-lines","description":"Count the lines in a string, works with windows carriage returns or unix style newlines.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/count-lines","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/count-lines.git"},"bugs":{"url":"https://github.com/jonschlinkert/count-lines/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/count-lines/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":{"verb":">= 0.2.6","mocha":"*"},"_id":"count-lines@0.1.0","_shasum":"bfec2ac7a05c10b7cfb055940bde16794c231a85","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"bfec2ac7a05c10b7cfb055940bde16794c231a85","size":2719,"noattachment":false,"key":"/count-lines/-/count-lines-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/count-lines/download/count-lines-0.1.0.tgz"},"directories":{},"publish_time":1405305588195,"_cnpm_publish_time":1405305588195,"_hasShrinkwrap":false}},"readme":"# count-lines [![NPM version](https://badge.fury.io/js/count-lines.png)](http://badge.fury.io/js/count-lines)\n\n> Count the lines in a string, works with windows carriage returns or unix style newlines.\n\n## Install\n#### [npm](npmjs.org)\n\n```bash\nnpm i count-lines --save\n```\n\n## Usage\n\n```js\nvar count = require('count-lines');\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 July 13, 2014._","_attachments":{},"homepage":"https://github.com/jonschlinkert/count-lines","bugs":{"url":"https://github.com/jonschlinkert/count-lines/issues"}}