custom-nodejs-logs

1.0.1 • Public • Published

custom-nodejs-logs

A simple useful utility to console.log with different colors

How to use...

Import the module:\

import logs from 'custom-nodejs-logs' //or
const logs = require('custom-nodejs-logs')

    const text = `The text`
    logs.success(text) // Green
    logs.info(text) // Orange
    logs.error(text) // Red

Authors

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i custom-nodejs-logs

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      1.02 kB

      Total Files

      3

      Last publish

      Collaborators

      • chocoroleto