Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
prety_logs
Advanced tools
helps make your logs pretty.. I guess?
if you have npm installed run 'npm install --save prety_logs'
var plogs = require('prety_logs');
plogs.log('basic', 'Hello World!!!', green);
plogs.log.custom('name ', 'i dont have to be lame like these deafult loosers', yellow);
#types prety_logs comes with many default types of logs. these include, cmd - 'CMD'
basic - just basic 'LOG'
status - plain ol' 'STATUS'
boot - explains itself
error - Do i need to tell you what this one is???
custom - see below for more information
~see below for color numbers~
custom - lets you make your own log names.
plogs.log.custom('logname' 'text', color);
###Example:
plogs.log.custom('LOG', 'hello world!', yellow);```
logname cannot be more than 7 characters
#Colors & Effects
If you dont change the color they have default colors set!
blink = 5 bright = 1 dim = 2 hidden = 8 reverse = 7
black = 30 red = 31 green = 32 yellow = 33 blue = 34 purple = 35 cyan = 36 white = 37
white = 47 black = 40 red = 41 green = 42 yellow = 43 blue = 44 purple = 45 cyan = 46
#Plog You shouldnt see this one much unless one of us really messes up
FAQs
helps make your logs pretty.. I guess?
The npm package prety_logs receives a total of 0 weekly downloads. As such, prety_logs popularity was classified as not popular.
We found that prety_logs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.