Listen for and output Composer errors.
Install with npm
$ npm i composer-errors --save
var composer = require('composer');
var errors = require('composer-errors');
Listen to composer error events and output information.
Params
options {Object}: Options to specify color output and stream to write to.options.colors {Boolean}: Show ansi colors or not. true by defaultoptions.stream {Stream}: Output stream to write to. process.stderr by default.Example
errors({colors: false})(composer);
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Brian Woodward
Copyright © 2015 Brian Woodward Released under the MIT license.
This file was generated by verb-cli on September 23, 2015.