$ cnpm install @blakeembrey/template
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!"
This module uses TypeScript and publishes type definitions on NPM.
Apache 2.0
Copyright 2013 - present © cnpmjs.org | Home |