nl2brX
JS module for converting newlines to line breaks in BEMHTML and BEMTREE syntax.
Install
$ npm install nl2br-x
Example
const nl2brX = ; console; // ['Hello', {tag: 'br'}, 'world', {tag: 'br'}, '!!!']
JS module for converting newlines to line breaks in BEMHTML and BEMTREE syntax.
$ npm install nl2br-x
const nl2brX = ; console; // ['Hello', {tag: 'br'}, 'world', {tag: 'br'}, '!!!']
npm i nl2br-x
3
0.1.2
MIT
4.17 kB
5