3.1.2 • Published 4 years ago

rbdnl v3.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

rbdnl screenshot

npx rbdnl

Get to know Rubydenial using your command line with Node.js

Install

To use this CLI run the following command:

npm i rbdnl

Usage

const alert = require('rbdnl');

alert({type: 'success', msg: 'All done !', name: 'SUCCESS'});
// Prints: √  SUCCESS  All done !
alert();
// Prints: ×  ERROR  You forgot to define all options.
alert({type: 'warning', msg: `You didn't add something !`, name: 'WARNING'});
// Prints: ‼  WARNING  You didn't add something !
alert({type: 'info', msg: `Rubydenial is awesome !`, name: 'INFO'});
// Prints: ‼  INFO  Rubydenial is awesome !

API

alert(options)

> options

Type: object Default: {}

You can specify the options below.

> type

Type: string Default: error

> msg

Type: string Default: You forgot to define all options.

> name

Type: string Default:

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.4

4 years ago

3.0.5

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago