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
}
-
Notifications
You must be signed in to change notification settings - Fork 1
jusansilva/complete-line
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
lib to complete line with character
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published