npm install microtemplate[![NPM version][npm-image]][npm-url]
[![CI][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/microtemplate.svg
[npm-url]: https://npmjs.org/package/microtemplate
[ci-image]: https://github.com/xudafeng/microtemplate/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/xudafeng/microtemplate/actions/workflows/ci.yml
[codecov-image]: https://img.shields.io/codecov/c/github/xudafeng/microtemplate.svg?logo=codecov
[codecov-url]: https://codecov.io/gh/xudafeng/microtemplate
[node-image]: https://img.shields.io/badge/node.js-%3E=_12-green.svg
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/microtemplate.svg
[download-url]: https://npmjs.org/package/microtemplate
> micro template engine
``bash`
$ npm i microtemplate -g
`javascript`
const Render = require('microtemplate').render;
const output = Render('<#key#>', {
key: 'value'
}, {
tagOpen: '<#',
tagClose: '#>'
});
|
xudafeng
|
snapre
|
| :---: | :---: |
This project follows the git-contributor spec, auto updated at Fri Feb 03 2023 19:58:31 GMT+0800`.
The MIT License (MIT)