npm.io
0.1.0 • Published 10 years ago

expected

Licence
MIT
Version
0.1.0
Deps
0
Vulns
0
Weekly
0

expected NPM version

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

Install with npm

$ npm i expected --save

Usage

var expected = require('expected');

API

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.