Skip to content

doowb/composer-errors

Repository files navigation

composer-errors NPM version Build Status

Listen for and output Composer errors.

Install with npm

$ npm i composer-errors --save

Usage

var composer = require('composer');
var errors = require('composer-errors');

API

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 default
  • options.stream {Stream}: Output stream to write to. process.stderr by default.

Example

errors({colors: false})(composer);

Related projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Brian Woodward

License

Copyright © 2015 Brian Woodward Released under the MIT license.


This file was generated by verb-cli on September 23, 2015.

About

Listen for and output Composer errors.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published