Skip to content

MauriceButler/string-templater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string-templater

Basic string templater

Usage

    var templater = require('string-templater');

    templater('I like {food}', {food: 'Bacon'});
    // I like Bacon

    templater('First do {0} then {1}', ['things', 'stuff']);
    // First do things then stuff

About

Basic string templator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published