UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

11 lines (9 loc) 200 B
'use strict'; module.exports = function (t, a) { var o = { raz: 1, dwa: 2, trzy: 3 } , o2 = {}; a(t(o, function (value, name) { o2[name] = value; }), undefined, "Return"); a.deep(o2, o); };