A powerful JavaScript template engine
install matrix-template
npm i matrix-template
use it in nodejs
const matrixTemplate = require('matrix-template');
console.log(matrixTemplate.process('hello ${this.name}', { name: 'zhangchi' })); //hello zhangchi
Copyright (c) 2013-present, zhangchi