1.0.0 • Published 8 years ago

utility-tool-mnkhan v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

utility-tool

This is my utility tool as an npm package| Made for Full Sail Url-Shortener Project

Installing:

  1. Install the npm package as a dev dependency
npm install utility-tool-mnkhan --save-dev
  1. Turn Debugging mode on in your app by setting DEBUG to true in your .env
DEBUG=true

Usage:

  1. Place the following code wherever you want to log the good things (successes)
utility.debug('PLACE_MESSAGE_HERE', 'success');
  1. Place the following code wherever you want to log the bad things (error)
utility.debug('PLACE_MESSAGE_HERE', 'error');

-Keep in mind that the success messages will be outputted green in your console, and the errors as red.

The End