New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

custom-nodejs-logs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-nodejs-logs

A simple useful utility to console.log with different colors

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

  • @JoeXavi

Keywords

console.log

FAQs

Package last updated on 15 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts