UNPKG

templates-mo

Version:

Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting

7 lines (5 loc) • 145 B
import logger from '@tps/utilities/logger'; export const errorExit = (error) => { logger.cli.enable().error('%O', error); process.exit(1); };