1.1.1 • Published 4 months ago

@sergeyzwezdin/app-info v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@sergeyzwezdin/app-info

Utility to display app info in browser console.

Features

  • 🚀 Zero dependencies
  • 🌓 Dark/light mode support
  • 💡 Multiple theme support
  • 💥 Works in SSR environment

app-info

Usage

  1. npm install --save @sergeyzwezdin/app-info
  2. 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

Themes

License

Released under MIT by Sergey Zwezdin.

1.1.1

4 months ago

1.1.0

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago