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

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

Awesome Lists containing this project

README

          







> A random commit message generator.

[![Build Status](https://travis-ci.org/CodeDotJS/what-the-commit.svg?branch=master)](https://travis-ci.org/CodeDotJS/what-the-commit) [![Build Status](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)]()

## 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)