{"_id":"@derhuerst/br2nl","_rev":"1-043add0e8dfcbe576b23363fc0d9a3dd","name":"@derhuerst/br2nl","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@derhuerst/br2nl","description":"Replace HTML <br> tags with newline characters.","version":"1.0.0","main":"index.js","keywords":["br2nl","br","break","newline"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/br2nl","repository":{"type":"git","url":"git+https://github.com/derhuerst/br2nl.git"},"bugs":{"url":"https://github.com/derhuerst/br2nl/issues"},"license":"ISC","engines":{"node":">=6"},"scripts":{"test":"env NODE_ENV=dev node test.js","prepublishOnly":"npm test"},"gitHead":"89e520fc59a552d80151f3219d9b29d9124b7a37","_id":"@derhuerst/br2nl@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-aGzqSMKM9eqHd9orDSe7yOvekRM9EMt9Jbc9vAG+a3jbn50WOTThVQX20c75yk0WBmu+6A5hdHGRM49dlp0I9w==","shasum":"e2d18fd5ebbae8fa27b31e2f24bac846873fa895","tarball":"https://registry.npmjs.org/@derhuerst/br2nl/-/br2nl-1.0.0.tgz","fileCount":5,"unpackedSize":2994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclNpiCRA9TVsSAnZWagAAEaMP/05hGP4Bp5dOR/M7pNN2\n3jEPuWYS994MITUaPRotTS6dqvEqbOc1A225th2C/4fdXu7CMIzCucyXrY2E\nZPKWUwZe0hQOu1vhaLmoRY9ntaUVFlzJ+vdpjgNrd0+V8If7YqVJPAFP/l5v\n8dIg9auQyuVvx28CFG6eRFq6GGfnx5nfc3ERRDdeY4au0RZKuZMhGZPxVmbY\n7wkTGIIXRuF2qQuY3xMRhX06pWUzv+qPwMgyAfR3RY64rz0JsJn483f20NQJ\na8CL+N3+FaCE6nG+v3OmjLmj+kYt6MHjPxh1k2RxsL4WyiOo7/gnf0Q3YU6G\nbsNJhLD/aRnqQFdSXcQRzTJxl/TDTsbWfKZcAWgfet53sWr+jnm+Oz53jCkM\n5vKP4lNXj3ePbIWpxRlfuPf9bkx+7XJWxjjOrdR2PCcNwc2nqPh1QfVF9N4n\nmACMwkoO0PyGbRoV6quNrqs7W0S2xTaQZlTwHHxyhtIXZQUT9K1Rlj4/xVgV\nJoUMSp4sqSYai7+tyYy2NoSjdXSNStLXPtOGj2nGrKlrTunXeRpGNAiKACHb\nzn3wPy/55m+rWCyxKTpgUe70xVhs9+Qwtoqe7w+YyHygE21DmlM8iq4HNAuw\n9T6GBek1fNKm43ZLOcLvpTe2+mqaATVIKuvd1syUL0DaFBvNCesjGKfFPxi/\nPDiu\r\n=TzTp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkl4CHp5yfS+otTu18dMsKDLkaY1kVRbbWrbe4UtyJbgIgHkESXQ9btUMG6ky+yjQt5T7i0Q6CjCkkuENvcqk6Uwc="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/br2nl_1.0.0_1553259106013_0.09262820299402641"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-22T12:51:45.839Z","1.0.0":"2019-03-22T12:51:46.262Z","modified":"2022-04-05T03:48:35.663Z"},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"description":"Replace HTML <br> tags with newline characters.","homepage":"https://github.com/derhuerst/br2nl","keywords":["br2nl","br","break","newline"],"repository":{"type":"git","url":"git+https://github.com/derhuerst/br2nl.git"},"author":{"name":"Jannis R","email":"mail@jannisr.de"},"bugs":{"url":"https://github.com/derhuerst/br2nl/issues"},"license":"ISC","readme":"# br2nl\n\nYet another function to **replace HTML `<br>` tags with [newline characters](https://en.wikipedia.org/wiki/Newline)**.\n\n*Note:* This package does *not* do [HTML sanitization](https://en.wikipedia.org/wiki/HTML_sanitization)! It merely replaces `<br>`.\n\n[![npm version](https://img.shields.io/npm/v/br2nl.svg)](https://www.npmjs.com/package/br2nl)\n[![build status](https://api.travis-ci.org/derhuerst/br2nl.svg?branch=master)](https://travis-ci.org/derhuerst/br2nl)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/br2nl.svg)\n[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installation\n\n```shell\nnpm install @derhuerst/br2nl\n```\n\n\n## Usage\n\n```js\nconst br2nl = require('@derhuerst/br2nl')\n\nconsole.log(br2nl('foo<br>bar'))\nconsole.log(br2nl('foo<br> bar'))\nconsole.log(br2nl('foo<br/>bar'))\nconsole.log(br2nl('foo<br />bar'))\nconsole.log(br2nl('foo<br a=\"b\" />bar'))\n```\n\n\n## Contributing\n\nIf you have a question or need support using `br2nl`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/br2nl/issues).\n","readmeFilename":"readme.md"}