【文件属性】:
文件名称:ehp:简单Express HTML传递视图
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-20 06:27:55
JavaScript
高效能
当您需要快速静态视图并且express坚持使用jade或ejs时,Simple Express HTML passthru视图
安装
$ npm install ehp
特征
* in-memory caching of static pages
用法
app . engine ( 'html' , require ( 'ehp' ) . renderFile ) ;
app . set ( 'view engine' , 'html' ) ;
发牌
麻省理工学院许可
版权所有(C)2015 Ahmed Masud
【文件预览】:
ehp-master
----index.js(1KB)
----package.json(703B)
----test()
--------eph.js(606B)
--------fixtures()
----LICENSE(1KB)
----.gitignore(526B)
----README.md(427B)