expected
Simple error message formatting.
Last updated 11 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install expected 
SYNC missed versions from official npm registry.

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

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

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on October 06, 2015.

Current Tags

  • 0.1.0                                ...           latest (11 years ago)

1 Versions

  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |