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

justdo

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

justdo

Logging library build on top of 'chalk' and 'boxen'

unpublished
latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
1
Created
Source

Version Dependency Status Downloads npm Github All Releases Twitter Follow

Package Quality

Justdo - library

Logging library build on top of 'chalk' and 'boxen'

Example #1

// npm i justdo
const J = require("justdo")
setInterval(()=>{
    J.log("more is less")    
    J.lg("how many more times")
    J.lg(["-------------------"])    
},500)

screen

Example #2

setInterval(()=>{
    J.log("more is","less")
    J.lg("how many more","times")
    J.lg(["-------------------"])            
},500)

screen

Functions

log(logData, flag)null

log - Write in console log with background color and text color taken from a random member of the predefined settings.

lg(logData, flag)null

lg - write to the console in bold style with a random text color

box(logData)null

box - write a text into a box with randomized settings

log(logData, flag) ⇒ null

log - Write in console log with background color and text color taken from a random member of the predefined settings.

Kind: global function

ParamTypeDescription
logDatastringif it not a string passed in, then it will use common console.log()
flagstringoptional

lg(logData, flag) ⇒ null

lg - write to the console in bold style with a random text color

Kind: global function

ParamTypeDescription
logDatastringdata to be written in the console. if the type is different from 'string', then it will use common console.log()
flagstringoptional

box(logData) ⇒ null

box - write a text into a box with randomized settings

Kind: global function

ParamTypeDescription
logDatastringdata to be written in the box. if the type is different from 'string', then it will use common console.log()

Keywords

log

FAQs

Package last updated on 11 Mar 2017

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