@relab/app-info
Utility to display app info in browser console.
Features
- 🚀 Zero dependencies
- 🌓 Dark/light mode support
- 💡 Multiple theme support
- 💥 Works in SSR environment

Usage
npm install --save @relab/app-info
- Add
displayAppInfo()
at the start of your app
displayAppInfo('My Cool Application', {
Version: '1.0.0',
Commit: 'e8c97b69084b65a2b728528ad7a2aab5de7869bc',
Branch: 'refs/heads/master',
'Build Number': '7'
})
Options
theme
- one of predefined theme, supported options are: Blue
, Cyan
, Emerald
, Gray
, Green
, Indigo
, Lime
, Orange
, Pink
, Purple
, Zinc
(default: Zinc
)printStartTime
- whether to print application start time (default: true
)
displayAppInfo('My Cool Application', {
Version: '1.0.0',
Commit: 'e8c97b69084b65a2b728528ad7a2aab5de7869bc',
Branch: 'refs/heads/master',
'Build Number': '7'
}, {
printStartTime: false,
theme: 'Indigo'
})
Themes

License
Released under MIT by Sergey Zwezdin.