UNPKG

log-update-async-hook

Version:

log-update fork that uses async-exit-hook internally

10 lines (8 loc) 204 B
'use strict'; var onetime = require('onetime'); var exitHook = require('async-exit-hook'); module.exports = onetime(function () { exitHook(function () { process.stderr.write('\u001b[?25h'); }); });