Skip to content

duart38/Interpolate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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"));