Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonschlinkert/affirmative
Array of 'yes' words and phrases that express the user's agreement with a statement or request. Intended to be fun and useful for CLI prompts, web forms, etc.
https://github.com/jonschlinkert/affirmative
Last synced: 16 days ago
JSON representation
Array of 'yes' words and phrases that express the user's agreement with a statement or request. Intended to be fun and useful for CLI prompts, web forms, etc.
- Host: GitHub
- URL: https://github.com/jonschlinkert/affirmative
- Owner: jonschlinkert
- License: mit
- Created: 2015-12-20T19:06:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T17:08:33.000Z (almost 6 years ago)
- Last Synced: 2024-10-13T09:33:24.568Z (27 days ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - jonschlinkert/affirmative - Array of 'yes' words and phrases that express the user's agreement with a statement or request. Intended to be fun and useful for CLI prompts, web forms, etc. (others)
README
# affirmative [![NPM version](https://img.shields.io/npm/v/affirmative.svg)](https://www.npmjs.com/package/affirmative) [![Build Status](https://img.shields.io/travis/jonschlinkert/affirmative.svg)](https://travis-ci.org/jonschlinkert/affirmative)
> Array of 'yes' words and phrases that express the user's agreement with a statement or request. Intended to be fun and useful for CLI prompts, web forms, etc.
## Install
Install with [npm](https://www.npmjs.com/)
```sh
$ npm i affirmative --save
```## Usage
```js
var affirmative = require('affirmative');
```## Word list
The following words are included in the exported array:
* `absolutely`
* `affirmative`
* `all right`
* `amen`
* `aye`
* `beyond a doubt`
* `by all means`
* `certainly`
* `definitely`
* `even so`
* `exactly`
* `fine`
* `gladly`
* `good enough`
* `good`
* `granted`
* `i accept`
* `i concur`
* `i guess`
* `if you must`
* `indubitably`
* `just so`
* `most assuredly`
* `naturally`
* `of course`
* `ok`
* `okay`
* `positively`
* `precisely`
* `right on`
* `righto`
* `sure thing`
* `sure`
* `surely`
* `true`
* `undoubtedly`
* `unquestionably`
* `very well`
* `whatever`
* `willingly`
* `without fail`
* `y`
* `ya`
* `yea`
* `yeah`
* `yep`
* `yes`
* `yessir`
* `yup`## Adding words
Thought of another word? [suggest it](https://github.com/jonschlinkert/affirmative/issues/new?title=add%20word&body=I'd%20like%20to%20add%20the%20word%253A) or do a pr!
## Related projects
* [common-words](https://www.npmjs.com/package/common-words): Updated list (JSON) of the 100 most common words in the English language. Useful for… [more](https://www.npmjs.com/package/common-words) | [homepage](https://github.com/jonschlinkert/common-words)
* [unique-words](https://www.npmjs.com/package/unique-words): Return the unique words in a string or array. | [homepage](https://github.com/jonschlinkert/unique-words)## Running tests
Install dev dependencies:
```sh
$ npm i -d && npm test
```## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/affirmative/issues/new).
## Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)## License
Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the MIT license.***
_This file was generated by [verb](https://github.com/verbose/verb) on December 20, 2015._