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

16 lines (8 loc) 237 B
var es = require('../') exports['handle buffer'] = function (t) { es.stringify().on('data', function (d) { t.equal(d.trim(), JSON.stringify('HELLO')) t.end() }).write(new Buffer('HELLO')) } require('./helper')(module)