All Projects â†’ dennishzg â†’ Console Badge

dennishzg / Console Badge

Licence: mit
🎨 Create simple badges in the browser console

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Console Badge

Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-96.15%)
Mutual labels:  console, log
Asciichart
Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS, browsers and terminal, no dependencies
Stars: ✭ 1,107 (+751.54%)
Mutual labels:  console, browser
Console.md
Ever dreamed of rendering Markdown in the console? No. Neither had I.
Stars: ✭ 24 (-81.54%)
Mutual labels:  console, browser
Console
OS X console application.
Stars: ✭ 298 (+129.23%)
Mutual labels:  console, log
Simple Console
Add an elegant command-line interface to any page
Stars: ✭ 107 (-17.69%)
Mutual labels:  console, log
Konsul
A react renderer for browser's dev console
Stars: ✭ 605 (+365.38%)
Mutual labels:  console, browser
Colorette
Easily set the color and style of text in the terminal.
Stars: ✭ 1,047 (+705.38%)
Mutual labels:  console, browser
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-85.38%)
Mutual labels:  console, log
Web Console
Simple web-based shell, remote shell in your browser
Stars: ✭ 1,344 (+933.85%)
Mutual labels:  console, browser
Tiza
Console styling for browsers
Stars: ✭ 74 (-43.08%)
Mutual labels:  console, browser
Consola
Elegant Console Logger for Node.js and Browser 🐨
Stars: ✭ 3,461 (+2562.31%)
Mutual labels:  console, log
Seelog
įŽ€å•æ˜“į”¨ æĩč§ˆå™¨åŽžæ—ļæŸĨįœ‹æ—Ĩåŋ—
Stars: ✭ 116 (-10.77%)
Mutual labels:  log, browser
Log
Console.log with style.
Stars: ✭ 2,766 (+2027.69%)
Mutual labels:  console, log
Electron Log
Just a simple logging module for your Electron application
Stars: ✭ 765 (+488.46%)
Mutual labels:  console, log
UE4 MagicConsole
Enhanced UE4 output log widget
Stars: ✭ 71 (-45.38%)
Mutual labels:  console, log
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-74.62%)
Mutual labels:  console, log
ptkdev-logger
đŸĻ’ Beautiful Logger for Node.js: the best alternative to the console.log statement
Stars: ✭ 117 (-10%)
Mutual labels:  console, log
logt
đŸ–Ĩī¸ A colourful logger for the browser
Stars: ✭ 35 (-73.08%)
Mutual labels:  console, log
Signale
Highly configurable logging utility
Stars: ✭ 8,575 (+6496.15%)
Mutual labels:  console, log
Leash
Browser Shell
Stars: ✭ 108 (-16.92%)
Mutual labels:  console, browser

🎨 console-badge

Create simple badges in the browser console.

Tiny, easy-to-use package. No dependencies.


Version Downloads npm bundle size License

Build Status JavaScript Standard Code Style



Features

  • Tiny: Less than 1kB (minified and gzipped). No dependencies. ES5-compliant code.
  • Customizable: Change the font colors, background colors and texts. Tip: You can use the popular shields.io badge style. 😎
  • Flexible: Support for console.log / .warn / .error / .info.

Installation

$ npm install console-badge
# OR
$ yarn add console-badge

Usage

Edit on CodeSandbox

import * as consoleBadge from 'console-badge';

consoleBadge.log({
  mode: 'shields.io',
  leftText: 'console-badge',
  rightText: 'hello world 🚀',
  rightBgColor: '#ffc107',
  rightTextColor: '#1a1a1a'
});

consoleBadge.log({
  leftText: '😎 Check out our code here:',
  leftTextColor: '#000',
  leftBgColor: '#ddd',
  rightText: 'https://example.com/oss',
  rightBgColor: '#000'
});

💡 Please take a look at the API documentation to find out what the different options do and which other console types are supported.

Output:

CDN jsDelivr Hits

For prototyping or learning purposes, you can use the latest version with:

<script src="https://cdn.jsdelivr.net/npm/console-badge"></script>

For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/console-badge.umd.min.js"></script>
// Global variable
consoleBadge.log();
// Property in the window object
window.consoleBadge.log();

⚠ NPM is the recommended installation method. It pairs nicely with module bundlers such as webpack.

Documentation

Show your support

Please ⭐ī¸ this repository if this project helped you!

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who have already contributed to this project!

License

MIT

Copyright (c) 2019-present, Dennis Herzberg

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].