2.0.3 • Published 7 years ago

justdo v2.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

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.

Kind: global function

ParamTypeDescription
logDatastringif it not a string passed in, then it will use common console.log()
flagstringoptionalIt uses 'boxen' library to write the flag into a box using random settings

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()
flagstringoptionalIt uses 'boxen' library to write the flag into a box using random settingsion

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()
2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.12.0

7 years ago

1.11.2

7 years ago

1.11.0

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.4

8 years ago

1.9.2

8 years ago

1.9.1

8 years ago

1.9.0

8 years ago

1.8.0

8 years ago

1.6.7

8 years ago

1.6.5

8 years ago

1.6.4

8 years ago

1.6.3

8 years ago

1.7.0

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.4

8 years ago

1.5.3

8 years ago

1.5.2

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago