1.0.0 • Published 8 years ago
utility-tool-mnkhan v1.0.0
utility-tool
This is my utility tool as an npm package| Made for Full Sail Url-Shortener Project
Installing:
- Install the npm package as a dev dependency
npm install utility-tool-mnkhan --save-dev
- Turn Debugging mode on in your app by setting DEBUG to true in your .env
DEBUG=true
Usage:
- Place the following code wherever you want to log the good things (successes)
utility.debug('PLACE_MESSAGE_HERE', 'success');
- 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
1.0.0
8 years ago