Package Exports
- rendy
Readme
Rendy

Simple template engine compatible with handlebars and mustache.
Install
npm i rendy
How to use?
In ESM
import rendy from 'rendy';
in CommonJS:
const rendy = require('rendy');
API
rendy(template: string, value: Values})
Values
is:
type Values = {
[key: string]: string;
};
rendy('hello {{ value }}, {
value: 'world' ,
});
// returns
'hello world';
License
MIT