Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
cd-messenger
Advanced tools
Readme
Use same API across browser or node and cd-messenger will handle the rest for you!
View on npm
npm i -S cd-messenger
yarn add cd-messenger
<script src="lib/messenger.min.js"></script>
const msg = require('cd-messenger');
// You can use titleCase or lower case for msg methods
// assuming `name` variable has been set to value before calling below
let name = 'Mike Erickson';
=========================================================================================
msg.info ('Loading...');
msg.log (`name: ${name}`); // default color White
msg.info (`name: ${name}`); // default color Cyan
msg.success (`name: ${name}`); // default color Green
msg.warning (`name: ${name}`); // default color Yellow
msg.error (`name: ${name}`); // default color Red
msg.note (`name: ${name}`); // default color Orange
msg.debug (`name: ${name}`); // default color white
msg.table (array|object) // uses console.table (browser) or nice cli table (node)
=========================================================================================
msg.line(...)
msg.line // displays a colored line (you can define line character, color, and width)
msg.line ('', 'magenta'); // displays a line with solid magenta (no char)
msg.line ('•', 'green'); // displays a line with repeating '•' and green
msg.line ('', 'yellow', 40); // display with repeating (40) box, yellow
=========================================================================================
msg.setOptions(options: object) // customize default browser appearance
option.logger (true|false:default) // try it out and see how it looks
Copyright © 2016-2017 Mike Erickson Released under the MIT license
cd-messenger written by Mike Erickson
E-Mail: codedungeon@gmail.com
Twitter: @codedungeon
Webiste: codedungeon.org
FAQs
console log logger gulp notification browser node message
We found that cd-messenger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).