1.1.0 • Published 4 years ago

complete-line v1.1.0

Weekly downloads
28
License
ISC
Repository
github
Last release
4 years ago

Complete-line

Aboout

Lib to complete line with character

Install

npm install complete-line --save

In your code

const full = require('complete-line');

var refactor = () => {
    var str = "It is only exemplo"; //your string
    var start = "only"; // init complete 
    var char = "#"; // character to complete your string
    var strLength = 10;  // string length

    var newString = full.complete(start, char, str, strLength);

    console.log(newString);
    //It is only########## exemplo
}

I hope that help you!

Author

San Magno

github LinkedIn Twiter

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago