JSPM

prettylog

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q26109F
  • License MIT

pretty command line apps outputs

Package Exports

  • prettylog

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettylog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PrettyLog

Colorful console.log for commandline apps in bash and zsh

Install

$ npm install prettylog

Usage

var pl = require('prettylog');

pl.log('Text here', 'color','option');
pl.info('Text here', 'color','bold');
pl.warn('Text here', 'color','bold');
pl.error('Text here', 'color','bold');
pl.trace('Text here', 'color','bold');

###Colors

  • black
  • red
  • green
  • yellow
  • blue
  • purple
  • cyan
  • white

###Options

  • Regular default
  • Bold
  • Underline

License

MIT