JSPM

imagemin-log

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 153
  • Score
    100M100P100Q78055F
  • License MIT

The log utility used in imagemin related projects

Package Exports

  • imagemin-log

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 (imagemin-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

imagemin-log Build Status

The log utility used in imagemin related projects

Install

$ npm install --save imagemin-log

Usage

var log = require('imagemin-log');

log.info('this is a message');
log.warn('this is a warning');
log.success('this is a success message');
log.error(new Error('this is a error').stack);

/*
  ℹ this is a message
  ⚠ this is a warning
  ✔ this is a success message
  ✖ Error: this is an error
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
 */

License

MIT © imagemin