Usefull to generate html string representation from template. Or anything else
node 8 for util.promisify
yarn add template-builder
const fromTemplate = require('../index')
const result = await fromTemplate({
from: path.join(__dirname, 'template.html'),
values: {
title: 'hello world',
string: 'hello jhon',
},
})