Have ideas to improve npm?Join in the discussion! »

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

Keywords

none

Install

npm i log-with-style

DownloadsWeekly Downloads

442

Version

0.3.0

License

MIT

Last publish

Collaborators

  • avatar