1.0.2 • Published 2 years ago
pre-post-fix-append v1.0.2
Welcome, USER!
This package provides you with the functionality to 'pre' or 'post' add desired text!
How to use?
Prefix append setup
- Initialize
const appendConfig = append("test", delimiters = "", seperator = "-", type = 1) - Use
console.log(appendConf("prefix"))// outputs 'text-prefix' - Use
console.log(appendConf("prefix append"))// outputs 'text-prefix text-append'
Postfix append setup
- Initialize
const appendConfig = append("test", delimiters = "", seperator = "-", type=0) - Use
console.log(appendConf("postfix append"))// outputs 'postfix-text append-text'