UNPKG
docsify-cli
Version:
latest (4.4.4)
next (4.0.2)
rc (5.0.0-rc.3)
5.0.0-rc.3
5.0.0-rc.1
4.4.4
4.4.3
4.4.2
4.4.1
4.4.0
4.3.0
4.2.1
4.2.0
4.1.12
4.1.11
4.1.10
4.1.9
4.1.8
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.3.2
3.3.1
3.3.0
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.1.0
2.0.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
0.2.2
0.2.1
0.1.0
A magical documentation generator.
github.com/docsifyjs/docsify-cli
docsifyjs/docsify-cli
docsify-cli
/
lib
/
util
/
logger.js
9 lines
(4 loc)
•
156 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
const
chalk =
require
(
'chalk'
)
exports
.
error
=
msg
=>
console
.
error
(chalk.
red
(msg))
exports
.
success
=
msg
=>
console
.
log
(chalk.
green
(msg))