0.0.2 • Published 10 years ago
fancy-hr v0.0.2
fancy-hr

Yield a fancy <hr /> in Node applications.
Install
$ npm install --save fancy-hrUsage
const hr = require('fancy-hr')
hr()
//=> ----------------
hr('fire')
//=> ------fire------API
hr(text, width, char)
text
Text to display in the center of hr, default is an empty string.
width
The width of hr, default is 15.
char
The char to make up hr, default is -.
License
MIT © EGOIST