3.1.2 • Published 5 years ago

rbdnl v3.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.4

5 years ago

3.0.5

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago