0.1.2 • Published 4 years ago

nl2br-x v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 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

4 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago