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

9 lines (8 loc) 245 B
var util = require('util') module.exports = function() { var args = Array.prototype.slice.call(arguments, 0) args.forEach(function(arg) { if (!arg) throw new TypeError('Bad arguments.') }) return util.format.apply(null, arguments) }