cubely
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Cubely

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

Size

MIT

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

Package Sidebar

Install

npm i cubely

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

5.45 kB

Total Files

6

Last publish

Collaborators

  • shane-games