Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 254 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 254 Bytes

Interpolate

Deno text interpolator

example

let t = new Interpolation("hello {{first}} {{second}}");

t.bind((dat)=>{
    console.log("bound", dat)
})

console.log(t.fill("first", "lovely"));
console.log(t.fill("second", "world"));