efriis / squiggly

Simple dynamic string templates for JavaScript (written in TypeScript)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Squiggly

Simple dynamic string templates for JavaScript (written in TypeScript)

const Squiggly = require('squiggly-template');

let template = new Squiggly("This is a {adjective} module. It will be {adverb} useful!");
console.log(template.get({adjective:"cool",adverb:"super"}));

Installation

$ npm install squiggly-template --save

About

Simple dynamic string templates for JavaScript (written in TypeScript)

License:MIT License


Languages

Language:JavaScript 55.9%Language:TypeScript 44.1%