linebreakgen

1.0.2 • Public • Published

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().

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i linebreakgen

      Weekly Downloads

      5

      Version

      1.0.2

      License

      none

      Last publish

      Collaborators

      • shielsasaurus