js-template

Fast and simple string templates

OTHER License

Downloads
529.2K
Stars
5
Committers
2

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

Package Rankings
Top 6.42% on Npmjs.org
Badges
Extracted from project README
NPM version NPM downloads Build status Test coverage