log-with-style

0.3.0 • Public • Published

Log

Console.log with style

Demo

Features

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italiclog('this is *italic*')
    • boldlog('this word _bold_')
    • codelog('this word `code`')
  • Use a custom syntax to style text however you want: log('this is [c="color: red"]red[c]').

Installation

The easiest way to add log to a website is with Eager.

Support

Stylized logs are supported in the following browsers:

  • Chrome 26+
  • Firefox 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    215
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    215
  • 0.1.5
    1
  • 0.1.4
    1
  • 0.1.3
    1

Package Sidebar

Install

npm i log-with-style

Weekly Downloads

218

Version

0.3.0

License

MIT

Last publish

Collaborators

  • adamschwartz