loot-ytilitu

1.0.5 • Public • Published

Utility-Tool

Usage

    What's is loot-ytilitu?
  • loot-ytilitu is in short a Utility Tool that displays all the requested information in console as well as store it in log.
  • By default, it is setup to display all successful operations in

    GREEN

  • By default, it is setup to display all erroneous operations in

    RED

Usage

Usage

Development Usage

Install the package as a developer dependency

npm i loot-ytilitu --save-dev

In your project root folder, create a folder called logs. This can be done in many ways, here is how to do it using Terminal.

In Terminal type:

mkdir logs

At the top of the folders that contain scripts you are running be sure to include this line at the top

const utilityTool = require('loot-ytilitu');

Example

Example

When running this line in Terminal:

DEBUG=true node src/server.js

With this line in src/server.js

 utilityTool.debug(`Server Active on ${port}`);

How it shows in console:

Thu Aug 18 2016 21:55:48 GMT-0400 (EDT)
Server Active on 3000

Semantic Versioning

Semantic Versioning

Visit SemVer to get the latest info on Semantic Versioning:

HERE


Contributed by

Shaun M. Rogers

Package Sidebar

Install

npm i loot-ytilitu

Weekly Downloads

2

Version

1.0.5

License

ISC

Last publish

Collaborators

  • smrogers