Socket
Socket
Sign inDemoInstall

glweems-prettylogs

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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!")`
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc