1.2.0 • Published 3 years ago

cubely v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

A Node.js library for colorful logs and log files. .

Installation

Use the npm to install Cubely.

npm install cubely

Or use yarn.

yarn add cubely

Usage

const cubely = require("cubely")
cubely.info('Hello')    //-> [INFO]: Hello
cubely.debug('Hello')   //-> [DEBUG]: Hello
cubely.warn('Hello')    //-> [WARN]: Hello
cubely.error('Hello')   //-> [ERROR]: Hello

Custom Logs

cubely.custom('Custom', 'Hello', cubely.colors.foreground.Cyan) //-> [Custom]: Hello

Close the log file

cubely.close() //-> Closes the log

Contributing

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

License

MIT

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago