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

10 lines (8 loc) 185 B
'use strict'; module.exports = function (t, a) { a(t(), 0, "No arguments"); a(t(0, 0), 0, "Zeros"); a(t(2, 4), 8, "#1"); a(t(-1, 8), -8, "#2"); a(t(0xfffffffe, 5), -10, "#3"); };