Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
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
The npm package cd-messenger receives a total of 80 weekly downloads. As such, cd-messenger popularity was classified as not popular.
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.