UNPKG
jsconfco
Version:
latest (20.18.0)
20.18.0
1.0.0
A CLI with info related to the conference
github.com/coljs/jsconfco-cli
coljs/jsconfco-cli
jsconfco
/
lib
/
spinner.js
16 lines
(11 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
const
ora =
require
(
'ora'
)
function
createSpinner
(
text
) {
const
spinner =
ora
({
text
: text,
spinner
:
'arrow3'
,
color
:
'yellow'
})
return
spinner }
module
.
exports
= createSpinner