You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| dist | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| package.json | 3 years ago | |
README.md
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