Socket
Socket
Sign inDemoInstall

@dynatrace-sdk/user-preferences

Package Overview
Dependencies
0
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dynatrace-sdk/user-preferences

Obtain the currently logged-in user preferences, like theme or language.


Version published
Weekly downloads
301
increased by35.59%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

User preferences

A Dynatrace AppEngine SDK library allowing to obtain the currently logged-in user preferences, i.e. the theme, language, and regional format of date-time, currency, and numeric values.

npm install @dynatrace-sdk/user-preferences

Example usage

import { getTheme } from "@dynatrace-sdk/user-preferences";

const theme = getTheme(); // 'auto' | 'dark' | 'light'

API reference

See the package reference in the Dynatrace Developer.

Keywords

FAQs

Last updated on 08 Jan 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc