yd-cdecorations
v0.0.2
Published
Wanted an easier way to create decorations in your console logs?? here at YeetDesigns we have got you!!
Downloads
1
Maintainers
Readme
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