0.0.6 • Published 8 years ago
@joegesualdo/terminal-log v0.0.6
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