Underlined
The module draws a string of characters of a certain length
Make sure you use a monospaced font!
API
input
Type: String
options
Type: Object
options.symbol
Type: String
Default: -
Underline character
options.with_string
Type: Boolean
Default: true
Do include input string into result
options.top
Type: Boolean
Default: false
Draw line at the top
options.bottom
Type: Boolean
Default: true
Draw line at the bottom
options.eol
Type: String
Default: \n
End of line character
Usage
;
Lorem ipsum dolor sit amet, consectetur adipisicing elit
--------------------------------------------------------
;
--------------------------------------------------------
Lorem ipsum dolor sit amet, consectetur adipisicing elit
--------------------------------------------------------
;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++