JavaScript 的 JSON 模板引擎 Kata

码农软件 · 软件分类 · 模板引擎 · 2019-08-23 09:41:52

软件介绍

Kata 是一个 JavaScript 模板引擎。包括:Template blocks, Interpolate blocks, Iterate blocks, Conditional blocks, Else/Elseif blocks, Invoke blocks, Yield blocks, Import blocks, Evaluate blocks, and Plugin blocks.

示例代码:

var kata = require('kata');
var fs = require('fs');

fs.readFile('template.kata', {encoding: 'utf8'}, function(err, src){
  var template;
  if (err) return;

  template = kata(src);
  console.log(template({greeting: 'Hello', name: 'World'}));
});

本文地址:https://www.codercto.com/soft/d/12979.html

The Art and Science of Java

The Art and Science of Java

Eric Roberts / Addison-Wesley / 2007-3-1 / USD 121.60

In The Art and Science of Java, Stanford professor and well-known leader in CS Education Eric Roberts emphasizes the student-friendly exposition that led to the success of The Art and Science of C. By......一起来看看 《The Art and Science of Java》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具