# @sap-cloud-sdk/util

> SAP Cloud SDK for JavaScript general utilities

Latest version **4.10.0** (published 2026-11-05) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @sap-cloud-sdk/util
pnpm add @sap-cloud-sdk/util
yarn add @sap-cloud-sdk/util
bun add @sap-cloud-sdk/util
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.10.0 |
| Published | 2026-11-05 |
| First published | 2020-02-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 132.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 222 |
| Maintainers | jjtang, marikaner, kavithasiva, davidkna-sap, sap-ospo-admin, betinabenaduce |
| Keywords | sap-cloud-sdk, cloud-sdk, sap-cloud-platform, util |

## Links

- npm: https://www.npmjs.com/package/@sap-cloud-sdk/util
- Repository: https://github.com/SAP/cloud-sdk-js
- Homepage: https://sap.github.io/cloud-sdk/docs/js/overview
- Issues: https://github.com/SAP/cloud-sdk-js/issues
- npm.io page: https://npm.io/package/@sap-cloud-sdk/util

## Dependencies (5)

- [voca](https://npm.io/package/voca.md) ^1.4.1
- [axios](https://npm.io/package/axios.md) ^1.15.0
- [logform](https://npm.io/package/logform.md) ^2.7.0
- [winston](https://npm.io/package/winston.md) ^3.19.0
- [winston-transport](https://npm.io/package/winston-transport.md) ^4.9.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.10.0 (latest) — 2026-11-05
- 4.10.1-20261113011449.0 (canary) — 2026-11-13
- 4.0.0-20250304023636.0 (next) — 2025-03-04
- 1.54.2 (legacy) — 2022-05-27
- 4.10.1-20261110104223.0 — 2026-11-10
- 4.10.1-20261106011551.0 — 2026-11-06
- 4.9.2-20261031011356.0 — 2026-10-31
- 4.9.2-20261028011734.0 — 2026-10-28
- 4.9.2-20261026013614.0 — 2026-10-26
- 4.9.2-20261025013308.0 — 2026-10-25
- 4.9.2-20261021013204.0 — 2026-10-21
- 4.9.2-20261020094528.0 — 2026-10-20
- 4.9.2-20261020013054.0 — 2026-10-20
- 4.9.2-20261018013139.0 — 2026-10-18
- 4.9.2-20261017012720.0 — 2026-10-17
- … 2896 more at https://npm.io/package/@sap-cloud-sdk/util/versions

## README

<!-- sap-cloud-sdk-logo -->
<!-- This block is inserted by scripts/replace-common-readme.ts. Do not adjust it manually. -->
<a href="https://sap.github.io/cloud-sdk/docs/js/overview"><img src="https://help.sap.com/doc/2324e9c3b28748a4ae2ad08166d77675/1.0/en-US/logo-with-js.svg" alt="SAP Cloud SDK for JavaScript Logo" height="122.92" width="226.773"/></a>
<!-- sap-cloud-sdk-logo-stop -->

# @sap-cloud-sdk/util

This package 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 Business Technology 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');
```

<!-- sap-cloud-sdk-common-readme -->
<!-- This block is inserted by scripts/replace-common-readme.ts. Do not adjust it manually. -->
## Support

The recommended way to get in touch with us is to create an issue on [GitHub](https://github.com/SAP/cloud-sdk-js/issues).
Select the issue category **Bug**, **Feature**, or **Question** depending on the nature of your request.
We try to provide fixes, features and answers as soon as possible.

## Contribute

If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our [contributing guidelines](https://github.com/SAP/cloud-sdk-js/blob/main/CONTRIBUTING.md) and follow the given instructions.

## Links

- [Official support channel](https://github.com/SAP/cloud-sdk-js/issues/new/choose)
- [Github](https://github.com/SAP/cloud-sdk-js)
- [SAP Cloud SDK Documentation](https://sap.github.io/cloud-sdk)
  - [Overview](https://sap.github.io/cloud-sdk/docs/js/overview)
  - [Getting started guide](https://sap.github.io/cloud-sdk/docs/js/getting-started)
  - [API documentation](https://sap.github.io/cloud-sdk/api/latest)
  - [Release notes](https://sap.github.io/cloud-sdk/docs/js/release-notes)
- [Sample repository](https://github.com/SAP-samples/cloud-sdk-js)

## License

The SAP Cloud SDK is released under the [Apache License Version 2.0.](http://www.apache.org/licenses/)
<!-- sap-cloud-sdk-common-readme-stop -->

---
_Source: https://npm.io/package/@sap-cloud-sdk/util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
