Simple error message formatting.
npm install expected> Simple error message formatting.
This is a first pass. I'll probably make this more dynamic after I get a feel for how it needs to work. Any suggestions or contributions would be great!
Some ideas:
* add an inflection lib
* build up the messages based on the methods used, e.g. if an is used, then add an to the message, and so on
Install with npm
``sh`
$ npm i expected --save
`js`
var expected = require('expected');
* collection-visit: Visit a method over the items in an object, or map visit over the objects… more | homepage
* map-visit: Map visit over an array of objects. | homepage
* object-visit: Call the given method on each value in the given object. | homepage
Install dev dependencies:
`sh``
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
+ github/jonschlinkert
+ twitter/jonschlinkert
Copyright © 2015 Jon Schlinkert
Released under the MIT license.
*
_This file was generated by verb-cli on October 06, 2015._