1.0.3 • Published 7 years ago

utiltoolpub v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

utilToolPub

Install

  • npm install utilToolPublish

Code Example

const chalk = require('chalk');

exports.debug = (title, obj, status) => { var seperator = '\n==================================\n'; const output = seperator + title + seperator;

var error = chalk.bold.red; console.log(error('Error!')); if (!status) { status = ''; } if (process.env.DEBUG) { console.log(error(output), obj, status); } };