prettylog-js

0.0.1 • Public • Published

Prettylog-js

Prettylog-js is a module that gives us a customized console logs

Installation

Use the package manager npm to install mongocaller.

npm install prettylog-js

Usage

import { print, error, warn, debug, deprecated }  from 'prettylog-js'


# returns 'return a console.log message with black text color, bold and white background'
print('message')

# returns 'return a console.log message with white text color, bold and red background'
error('message')

# returns 'return a console.log message with black text color, bold and orange background'
error('message')

# returns 'return a console.log message with grey text color, bold and black background, with underline'
debug('message')

# returns 'return a console.log message with strike line overlay'
deprecated('message')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Creator

This modules was created by Ibrahim Habib, Link up with me if you have any issue while using the modules, Thanks.

License

MIT

Package Sidebar

Install

npm i prettylog-js

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.89 kB

Total Files

4

Last publish

Collaborators

  • millzbdm