@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');
Api documentation
https://sap.github.io/cloud-sdk/docs/js/api-reference-js-ts
Helpful Links