-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsampleUsage.js
41 lines (35 loc) · 1.14 KB
/
sampleUsage.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const { success, info, warn, log, error, indent } = require('./src/index');
const TAB_LENGTH = 3;
// indent.nl(3).tab(TAB_LENGTH);
indent.nl(3);
// success('Lorem ipsum dolor sit amet');
// indent.tab(TAB_LENGTH);
// success('Lorem', 'Lorem ipsum dolor sit amet');
// indent.tab(TAB_LENGTH);
// success.b('Lorem ipsum dolor sit amet');
// indent.tab(TAB_LENGTH);
// success.m('Lorem ipsum dolor sit amet');
// indent.tab(TAB_LENGTH);
// success.wb('Lorem ipsum dolor sit amet');
// indent.nl(1).tab(TAB_LENGTH);
// indent.nl(1).tab(TAB_LENGTH);
// success.wb('Lorem ipsum dolor sit amet');
// indent.nl(1).tab(TAB_LENGTH);
// info.wb('Lorem ipsum dolor sit amet');
// indent.nl(1).tab(TAB_LENGTH);
// warn.wb('Lorem ipsum dolor sit amet');
// indent.nl(1).tab(TAB_LENGTH);
// log.wb('Lorem ipsum dolor sit amet');
// indent.nl(1).tab(TAB_LENGTH);
// error.wb('Lorem ipsum dolor sit amet');
// info('badge text', 'message text here ');
indent.tab(TAB_LENGTH);
success.m('Lorem', ' ipsum', ' dolor', ' sit', ' amet');
indent.nl(3);
warn.b('Lorem ipsum dolor sit amet');
indent
.nl(2)
.tab(3)
.space(5);
error.b('Lorem ipsum dolor sit amet');
indent.nl(3);