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

https://github.com/bukinoshita/shout-success

An opinionated success message
https://github.com/bukinoshita/shout-success

console javascript message nodejs success

Last synced: 5 months ago
JSON representation

An opinionated success message

Awesome Lists containing this project

README

          

# shout-success [![Build Status](https://travis-ci.org/bukinoshita/shout-success.svg?branch=master)](https://travis-ci.org/bukinoshita/shout-success)

> An opinionated success message

## Install

```
$ yarn add shout-success
```

## Usage

```js
const { shoutSuccess } = require('shout-success')

shoutSuccess('Profile saved.')
```

_Uses [chalk](https://github.com/chalk/chalk), will return a success message with a nice color._

## API

### shoutSuccess(message, label)

#### message

Type: `string`

Required

#### label

Type: `string`

Default: `> Success!`

## Related

- [shout-message](https://github.com/bukinoshita/shout-message) — An opinionated message
- [shout-error](https://github.com/bukinoshita/shout-error) — An opinionated error message

## License

MIT © [Bu Kinoshita](https://bukinoshita.com)