expected
v0.1.0
Published
Simple error message formatting.
Downloads
70
Maintainers
Readme
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 addan
to the message, and so on
Install
Install with npm
$ npm i expected --save
Usage
var expected = require('expected');
API
Related projects
- 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
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
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on October 06, 2015.