xudafeng / microtemplate

micro template

Home Page:https://xudafeng.github.io/microtemplate2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

microtemplate

NPM version CI Test coverage node version npm download

micro template engine

Installment

$ npm i microtemplate -g

Options

const Render = require('microtemplate').render;
const output = Render('<#key#>', {
  key: 'value'
}, {
  tagOpen: '<#',
  tagClose: '#>'
});

Contributors


xudafeng

This project follows the git-contributor spec, auto updated at Thu Nov 18 2021 21:37:46 GMT+0800.

License

The MIT License (MIT)

About

micro template

https://xudafeng.github.io/microtemplate2/

License:MIT License


Languages

Language:JavaScript 79.0%Language:HTML 21.0%