@loybung/textreplace
v1.0.3
Published
LOYBUNG / Text Replace
Downloads
237
Readme
TextReplace
const { TextReplace } = require("@loybung/textreplace");
const textReplace = new TextReplace();
textReplace.setVariable({
name: "loybung", // {name} = loybung
});
const text = "{name}";
console.log(textReplace.getVariable(text)); // loybung