{"_id":"is-affirmative","_rev":"227394","name":"is-affirmative","description":"Returns true if a value is an `affirmative` value (from the affirmative lib). Useful for CLI prompts.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T15:43:40.000Z","created":"2016-01-19T13:37:54.050Z","0.1.0":"2016-01-19T13:37:54.050Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-affirmative.git"},"versions":{"0.1.0":{"name":"is-affirmative","description":"Returns true if a value is an `affirmative` value (from the affirmative lib). Useful for CLI prompts.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-affirmative","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-affirmative.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-affirmative/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"affirmative":"^0.1.1"},"devDependencies":{"gulp-format-md":"^0.1.5","mocha":"^2.3.4"},"keywords":["affirmative","cli","confirm","inquirer","prompt","question","truthy","yes"],"verb":{"layout":"default","plugins":["gulp-format-md"],"toc":false,"related":{"list":["affirmative"]}},"_id":"is-affirmative@0.1.0","_shasum":"2daed1c0bbbe06178cf7ab6202e0a5150540da8f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2daed1c0bbbe06178cf7ab6202e0a5150540da8f","size":2051,"noattachment":false,"key":"/is-affirmative/-/is-affirmative-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-affirmative/download/is-affirmative-0.1.0.tgz"},"directories":{},"publish_time":1453210674050,"_cnpm_publish_time":1453210674050,"_hasShrinkwrap":false}},"readme":"# is-affirmative [![NPM version](https://img.shields.io/npm/v/is-affirmative.svg)](https://www.npmjs.com/package/is-affirmative) [![Build Status](https://img.shields.io/travis/jonschlinkert/is-affirmative.svg)](https://travis-ci.org/jonschlinkert/is-affirmative)\n\n> Returns true if a value is an `affirmative` value (from the affirmative lib). Useful for CLI prompts.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i is-affirmative --save\n```\n\n## Usage\n\n```js\nvar isAffirmative = require('is-affirmative');\n\nisAffirmative('yes');\n//=> true\n\nisAffirmative('no');\n//=> false\n```\n\nSee the [affirmative][] library for all supported values.\n\n**Examples**\n\nReturns `true` if the value is affirmative:\n\n```js\nisAffirmative('yes');\nisAffirmative('yeah');\nisAffirmative('ok');\nisAffirmative('okay');\nisAffirmative('sure');\n//=> true\n```\n\nReturns false if the value is not (anything but) an affirmative value:\n\n```js\nisAffirmative('nope');\n//=> false\n```\n\n## Related projects\n\n[affirmative](https://www.npmjs.com/package/affirmative): Array of 'yes' words and phrases that express the user's agreement with a statement or… [more](https://www.npmjs.com/package/affirmative) | [homepage](https://github.com/jonschlinkert/affirmative)\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/is-affirmative/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 © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 19, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/is-affirmative","bugs":{"url":"https://github.com/jonschlinkert/is-affirmative/issues"},"license":"MIT"}