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

12 lines (9 loc) 210 B
var spawn = require('./spawn'); var keep = spawn.arg; spawn.tmpFunction({ keep: keep }, function (err, name) { if (err) { spawn.err(err, spawn.exit); } else { spawn.out(name, spawn.exit); } });