An open API service indexing awesome lists of open source software.

https://github.com/duart38/interpolate

Very simple (and small) text interpolator
https://github.com/duart38/interpolate

deno interpolation interpolator minimal observable regex replace-text type-safe typesafe

Last synced: about 2 months ago
JSON representation

Very simple (and small) text interpolator

Awesome Lists containing this project

README

        

# Interpolate
Deno text interpolator

## example
```JavaScript
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"));
```