brify

1.0.3 • Public • Published

brify

replaces \n with <br/> in a string

usage

use in the browser with browserify.

var brify = require('brify');
var brified = brify('hello \n world');
assert.equal(brified, 'hello <br/> world');
 

license

MIT

Package Sidebar

Install

npm i brify

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • andineck