congrats
v0.0.1
Published
Get congratulatory phrases
Downloads
7
Readme
Congrats
Get congratulatory phrases, straight to your computer, for FREE!
This is largely based on the superb library from the prolific @sindresorhus. The phrase list itself is just a JSON file and can be used wherever you'd like (via cli or in your app). There are currently ~50 phrases. Create a PR and add some more!
Install
$ npm install --save congrats
Usage
var congrats = require('congrats');
congrats();
//=> you did it
congrats();
//=> great job
congrats.phrases;
// ['congrats', 'well done', ...]
API
congrats()
Type: string
Random congratulatory phrases.
congrats.phrases
Type: array
All the phrases.
CLI
$ npm install --global congrats
$ congrats --help
Examples
$ congrats
legendary
$ congrats --all
ace
amazing
...
Options
--all Get all the phrases instead of a random word
Related Modules
- cat-names - Get popular cat names
- dog-names - Get popular dog names
- superheroes - Get superhero names
- supervillains - Get supervillain names
- yes-no-phrases - Get yes/no like phrases
License
MIT © Mark Thomas