glweems-prettylogs
Advanced tools
Comparing version 1.0.2 to 1.0.3
10
index.js
@@ -6,14 +6,14 @@ const base = "color: white; border-radius: 2px; padding: 1.75px; font-size: 11px;" | ||
function goodlog() { | ||
export function logsuccess() { | ||
console.log("%c " + string + " ", base + good) | ||
} | ||
}; | ||
function badlog() { | ||
export function logdanger() { | ||
console.log("%c " + string + " ", base + error); | ||
}; | ||
function warninglog() { | ||
export function logwarning() { | ||
console.log("%c " + string + " ", base + warning); | ||
} | ||
}; | ||
export default { goodlog, badlog, warninglog } |
{ | ||
"name": "glweems-prettylogs", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
"main": "index.js", | ||
"repository": "github:glweems/prettylogs", | ||
"scripts": { | ||
@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
# prettylogs | ||
**console.log** | ||
`logsuccess("Success!")` | ||
`logsuccess("Danger!")` | ||
`logsuccess("Warning!")` |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1011
9