0.0.2 • Published 12 months ago

yd-cdecorations v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

YD-Console Decorations

Wanted an easier way to create decorations in your console logs?? here at YeetDesigns we have got you

const {BorderLinesStyle, Gaps} = require("yd-cdecorations")

const blines = new BorderLinesStyle({
    Length: 20,
    Style: "="
})
const gaps = new Gaps({
    Size: 2
})

console.log("Short:") // sends a 2 gap space in the console log
console.log(blines.Short()) // sends the border line as short
gaps.Send() // sends a 2 gap space in the console log
console.log("Long:") // title of the border line
console.log(blines.Long()) // sends the border line as long
gaps.Send() // sends a 2 gap space in the console log
console.log("Full:") // sends a 2 gap space in the console log
console.log(blines.Full()) // sends the border line as the number you set above
0.0.2

12 months ago

0.0.1

12 months ago