youngjuning-archive / handlebars-template-compiler

一个简单的基于 handlebars 的模板编译器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

handlebars-template-compiler

Install

$ npm install handlebars-template-compiler

OR

$ yarn add handlebars-template-compiler

Usage

const compiler = require('handlebars-template-compiler');
compiler(
  {
    name: '洛竹',
  },
  './tpl',
  {
    tplSuffix: 'tpl',
    exclude: ['**/*.js'],
  }
);

About

一个简单的基于 handlebars 的模板编译器

License:MIT License


Languages

Language:JavaScript 67.2%Language:TypeScript 32.8%