1.1.0 • Published 5 years ago

complete-line v1.1.0

Weekly downloads
28
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago