https://github.com/codedotjs/what-the-commit
:cool: Commit Message Generator
https://github.com/codedotjs/what-the-commit
api commit generate message nodejs
Last synced: 6 months ago
JSON representation
:cool: Commit Message Generator
- Host: GitHub
- URL: https://github.com/codedotjs/what-the-commit
- Owner: CodeDotJS
- License: mit
- Created: 2017-07-20T03:28:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T06:14:05.000Z (over 8 years ago)
- Last Synced: 2025-06-09T13:49:39.510Z (7 months ago)
- Topics: api, commit, generate, message, nodejs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
> A random commit message generator.
[](https://travis-ci.org/CodeDotJS/what-the-commit) []()
## Install
```
$ npm install --save what-the-commit
```
## Usage
```js
const wtf = require('what-the-commit');
wtf().then(commit => {
console.log(commit);
// => Just committing so I can go home
});
wtf().then(commit => {
console.log(commit);
// => commented out failing tests
})
```
## API
- __`wtf()`__ `:` `Return promise for random commit messages`
## Related
- __[`wtfcommits`](https://github.com/CodeDotJS/wtfcommits)__ `:` `Generate shitty commit messages from the command line`
## License
MIT © [Rishi Giri](http://rishigiri.ml)