word-frame-star
v1.0.0
Published
to frame the word using star letters in console.
Downloads
3
Maintainers
Readme
word-frame-star
A simple library to frame the words in console using star letters, for initial release this library is accepting only alphabetes, numbers and hyphen, This will be help to show the welcome note to developers while starting the your node project in console.
Installation
npm install word-frame-star --save
Usage
var frameStarObj = require('word-frame-star');
frameStarObj.printWithBorders('welcome');
frameStarObj.print('hello world');
output:-
With Borders:-
***********************************************
* * ***** * *** *** * * *****
* * * * * * * * ** ** *
* * * * * * * * * * *
* * ***** * * * * * * *****
* * * * * * * * * * *
** ** * * * * * * * * *
* * ***** ***** *** *** * * *****
***********************************************
Without Borders:-
* * ***** * * *** * * *** **** * ****
* * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * *
***** ***** * * * * * * * * **** * * *
* * * * * * * * * * * * * * * * *
* * * * * * * ** ** * * * * * * *
* * ***** ***** ***** *** * * *** * * ***** ****
Functions
- printWithBorders
Tests
npm test.js
Release History
- 0.1.1 Initial release