@blakeembrey/template
v1.2.0
Published
Fast and simple string template library
Downloads
507,159
Maintainers
Readme
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!"
TypeScript
This module uses TypeScript and publishes type definitions on NPM.
License
Apache 2.0