0.1.2 • Published 5 years ago

nl2br-x v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

nl2brX

JS module for converting newlines to line breaks in BEMHTML and BEMTREE syntax.

Install

$ npm install nl2br-x

Example

const nl2brX  = require('nl2br-x');

console.log(nl2brX(`Hello
world
!!!`)); // ['Hello', {tag: 'br'}, 'world', {tag: 'br'}, '!!!']
0.1.2

5 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago