JSPM

@sap-cloud-sdk/util

1.28.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 83836
  • Score
    100M100P100Q164498F
  • License Apache-2.0

SAP Cloud SDK for JavaScript general utilities

Package Exports

  • @sap-cloud-sdk/util

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sap-cloud-sdk/util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SAP Cloud SDK for JavaScript Logo

@sap-cloud-sdk/util

Package that contains general utility functions that we reuse multiple times in the SDK. While primarily designed for internal usage, they might also be beneficial for consumers of the SDK.

Installation

$ npm install @sap-cloud-sdk/util

Usage

The util package collects useful tools that help build your SAP Cloud Platform application. For example, the following code snippet changes the log level of the destination accessor of the SDK.

import { setLogLevel } from '@sap-cloud-sdk/util';
setLogLevel('debug', 'destination-accessor');

Documentation

Getting started guide API documentation