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

/brify/

    Package Sidebar

    Install

    npm i brify

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • andineck