KyberJS
A directive template engine for Node.js
Fetures
- Front-end HTML DOM directive driver;
- Templates support asynchronous functions based on
async
,await
; - Built-in support for HTML minify;
- Friendly APIs, flexible extensions, support for custom directives, filters, tags;
Support
- Node 8+
Install
- Use
npm
to install
npm install --save kyber
Usage
Simple for file rendering;
const kyber = ; const init = { const res = await kyber; console;}; ;
Use with Koa
const Koa = ;const kyber = ; const app = ; app; app;
API and template syntax
See here;
Contribute
KyberJS
is still in development, and if you have problems using KyberJS
, or if you have a good suggestion, please open a Issue or make a Pull Request.
License
MIT