{"_id":"is-newline","_rev":"297404","name":"is-newline","description":"Determine whether a given string is a newline character.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"time":{"modified":"2021-06-03T18:59:49.000Z","created":"2015-10-30T18:27:50.189Z","1.0.0":"2015-10-30T18:27:50.189Z"},"users":{},"author":{"name":"John Otander"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-newline.git"},"versions":{"1.0.0":{"name":"is-newline","description":"Determine whether a given string is a newline character.","author":{"name":"John Otander"},"version":"1.0.0","main":"index.js","files":["index.js"],"scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-newline.git"},"keywords":["newline","is","cf","lf"],"license":"MIT","bugs":{"url":"https://github.com/johnotander/is-newline/issues"},"homepage":"https://github.com/johnotander/is-newline","dependencies":{"newline-regex":"^0.2.0"},"devDependencies":{"ava":"*"},"gitHead":"61880038bd8e51f98d53ef621be2f0d0a08a188d","_id":"is-newline@1.0.0","_shasum":"f0aac97cc9ac0b4b94af8c55a01cf3690f436e38","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.1.2","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"f0aac97cc9ac0b4b94af8c55a01cf3690f436e38","size":1771,"noattachment":false,"key":"/is-newline/-/is-newline-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-newline/download/is-newline-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"directories":{},"publish_time":1446229670189,"_cnpm_publish_time":1446229670189,"_hasShrinkwrap":false}},"readme":"# is-newline [![Build Status](https://secure.travis-ci.org/johnotander/is-newline.png?branch=master)](https://travis-ci.org/johnotander/is-newline) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nDetermine whether a given string is a newline character.\n\n## Installation\n\n```bash\nnpm install --save is-newline\n```\n\n## Usage\n\n```javascript\nvar isNewline = require('is-newline')\n\nisNewline('\\n')  // => true\nisNewline('\\r\\n')  // => true\n\nisNewline('  ')  // => false\nisNewline('\\n\\n')  // => false\n```\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","_attachments":{},"homepage":"https://github.com/johnotander/is-newline","bugs":{"url":"https://github.com/johnotander/is-newline/issues"},"license":"MIT"}