1.0.3 • Published 9 years ago
brify v1.0.3
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