Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months 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.

Awesome Lists containing this project

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._