@blakeembrey/template

Fast and simple string template library

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@blakeembrey/template
401.1.0a year ago4 years agoMinified + gzip package size for @blakeembrey/template in KB

Readme

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