Nostalgic Pizza Manager

    newline-br

    2.0.0 • Public • Published

    newline-br

    Prepend <br> to newlines in a string

    Install

    $ npm install newline-br
    

    Usage

    import newlineBr from 'newline-br';
    
    newlineBr('unicorn\nrainbow');
    //=> 'unicorn<br>\nrainbow'

    Install

    npm i newline-br

    DownloadsWeekly Downloads

    214

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    2.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus