@joegesualdo/terminal-log
0.0.6 • Public • Published
terminal-log
Pretty terminal logging.
Install
$ npm install --save @joegesualdo/terminal-log
Usage
import log from ('@joegesualdo/terminal-log')
log.warn("Warn")
log.error("Error")
log.success("Success")
Test
$ npm test
API
warn(message)
Name |
Type |
Description |
message |
String |
Message |
import log from ('@joegesualdo/terminal-log')
log.warn("Warn")
error(message)
Name |
Type |
Description |
message |
String |
Message |
import log from ('@joegesualdo/terminal-log')
log.error("Error")
success(message)
Name |
Type |
Description |
message |
String |
Message |
import log from ('@joegesualdo/terminal-log')
log.success("Success")
Build
$ npm run build
License
MIT © Joe Gesualdo
Package Sidebar
Install
npm i @joegesualdo/terminal-log
Weekly Downloads