Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 562 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 562 Bytes

bulletprooflinelenght

A universal tool to break long rows in a html file without causing any change in the output view.

INSTALLATION

npm install bulletproofLineLength

USAGE:

var bulletproofLineLength = require("bulletproofLineLength");

var stringWithShortLines = bulletproofLineLength(stringWithLongLines, maximalLineLength);

stringWithLongLines is the input string;

maximalLineLength is the line length limit;

returns stringWithShortLines containing the same text as in stringWithLongLines, but with long lines broken.