composer-errors

0.1.1 • Public • Published

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

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 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.

Readme

Keywords

none

Package Sidebar

Install

npm i composer-errors

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jonschlinkert
  • doowb