Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@relab/app-info

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relab/app-info

Utility package to display app info in browser console

  • 1.1.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
69
increased by430.77%
Maintainers
1
Weekly downloads
 
Created
Source

@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

app-info

Usage

  1. npm install --save @relab/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.

Keywords

FAQs

Package last updated on 18 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc