{"_id":"expected","_rev":"27549","name":"expected","description":"Simple error message formatting.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:03:00.000Z","created":"2015-10-06T13:46:48.397Z","0.1.0":"2015-10-06T13:46:48.397Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expected.git"},"versions":{"0.1.0":{"name":"expected","description":"Simple error message formatting.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/expected","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expected.git"},"bugs":{"url":"https://github.com/jonschlinkert/expected/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"keywords":["console","err","error","errors","format","formatter","formatting","message","print","terminal"],"verb":{"related":{"list":["collection-visit","object-visit","map-visit"]}},"_id":"expected@0.1.0","_shasum":"f774d2fdd1aa9413aae99d471b788752a9a15925","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f774d2fdd1aa9413aae99d471b788752a9a15925","size":2129,"noattachment":false,"key":"/expected/-/expected-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expected/download/expected-0.1.0.tgz"},"directories":{},"publish_time":1444139208397,"_cnpm_publish_time":1444139208397,"_hasShrinkwrap":false}},"readme":"# expected [![NPM version](https://badge.fury.io/js/expected.svg)](http://badge.fury.io/js/expected)\n\n> Simple error message formatting.\n\nThis 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!\n\nSome ideas:\n\n* add an inflection lib\n* build up the messages based on the methods used, e.g. if `an` is used, then add `an` to the message, and so on\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i expected --save\n```\n\n## Usage\n\n```js\nvar expected = require('expected');\n```\n\n## API\n\n## Related projects\n\n* [collection-visit](https://www.npmjs.com/package/collection-visit): Visit a method over the items in an object, or map visit over the objects… [more](https://www.npmjs.com/package/collection-visit) | [homepage](https://github.com/jonschlinkert/collection-visit)\n* [map-visit](https://www.npmjs.com/package/map-visit): Map `visit` over an array of objects. | [homepage](https://github.com/jonschlinkert/map-visit)\n* [object-visit](https://www.npmjs.com/package/object-visit): Call the given method on each value in the given object. | [homepage](https://github.com/jonschlinkert/object-visit)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/expected/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 06, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/expected","bugs":{"url":"https://github.com/jonschlinkert/expected/issues"},"license":"MIT"}