Template
Fast and simple string template library.
Installation
npm install @blakeembrey/template --save
Usage
import { template } from "@blakeembrey/template";
const fn = template("Hello {{name}}!");
fn({ name: "Blake" }); //=> "Hello Blake!"
Fast and simple string template library.
npm install @blakeembrey/template --save
import { template } from "@blakeembrey/template";
const fn = template("Hello {{name}}!");
fn({ name: "Blake" }); //=> "Hello Blake!"
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.