A simple template engine based on next.
npm install -S @jswork/next-tmpl
import '@jswork/next-tmpl';
nx.tmpl('I am {0}, I can live {1} year', ['afei', 100]);
nx.tmpl('I am {name}, I can live {age} year', { name:'afei', age:100});
// I am afei, I can live 100 year
Code released under the MIT license.