Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.03 KB

Template

NPM version NPM downloads Build status Test coverage

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