0.0.2 • Published 8 years ago

fancy-hr v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

fancy-hr NPM version NPM downloads Build Status

Yield a fancy <hr /> in Node applications.

Install

$ npm install --save fancy-hr

Usage

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

0.0.2

8 years ago

0.0.1

8 years ago