@dynatrace-sdk/user-preferences
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @dynatrace-sdk/user-preferences

      Weekly Downloads

      330

      Version

      1.1.1

      License

      Apache-2.0

      Unpacked Size

      28.1 kB

      Total Files

      24

      Last publish

      Collaborators

      • stefan.wolfsteiner.dynatrace
      • dynatrace-nodejs
      • wasserb