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

13 lines (9 loc) 250 B
'use strict'; var core = require('./core'); module.exports = function (p) { p = p || process; var c = core(); p.on('unhandledRejection', c.onUnhandledRejection); p.on('rejectionHandled', c.onRejectionHandled); return c.currentlyUnhandled; };