1.0.2 • Published 11 years ago
linebreakgen v1.0.2
linebreak
Line break generator in the terminal for Node.
Usage
Install into your project or use your package.json
:
npm install linebreak-gen
And then:
var linebreak = require('linebreak-gen');
To generate a linebreak, simply run
var linebreak = linebreak.lineBreak(text)
and replace text with the text above the linebreak (to retrieve the length) and linebreak will be a linebreak which you can then console.log()
.