brify
v1.0.3
Published
replaces `\n` with `<br/>` in a string
Downloads
8
Readme
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