# @gooddata/js-utils

> Various utils shared on GoodData frontend

Latest version **4.2.0** (published 2026-11-03) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @gooddata/js-utils
pnpm add @gooddata/js-utils
yarn add @gooddata/js-utils
bun add @gooddata/js-utils
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.2.0 |
| Published | 2026-11-03 |
| First published | 2017-01-16 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 48.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vojtech Jasny |
| Maintainers | ivan.mjartan, lupko, tomas.kratochvil, rodrigo.balsells, stanislavhacker, vojtasii, pbenes, gooddata-ci, nikolacech, petrjanu, hung.cao, xmort, bich.nguyen, no23reason, matyas.kandl, romanrakus, tu.bui, my.duong, hang.ngo, scavnickyj, thao-luong, thuong.nguyen, huyen.nguyen, nestor_encinas, tmuchka, gdjan, phong.nguyen, tuan.tran_gd, mkoldus, martin.milicka, pjiranek, martozar, david.zoufaly, agrebnevs-gd, vasek.zmrhal, hkad98, hoaimy, lukas.ther, ondrejvelisekgd, amilieta, andrenanninga-gooddata, pavelzrk, ilianchik, dusan-kovacik-profiq, khuongnguyen, matej.pavlik, jenny_gooddata, goodkuba, armhaj, bertold8, jyn.nguyen, mara3l, ondrej.maca, lukashlavacek, petr.veprek, jan.tychtl.gooddata, sommedamgd, guigooddata, peter-lorn, adampenaz, jakub.schenk, timurmuh, danieldoktor, jmat_gd, ellavo, wendy.nguyen, milan.dufek, maitrieuphilong, jkbm_gd, zdenekornst, jiri.staroba, adam.prchal, macekond, martinnaj, peter.koza, sandrasus, pjar, jan.svager.gooddata, minh.ho.gooddata, maiphuong.bui, jakubz_good, pavelcerny, mvarhalik |

## Links

- npm: https://www.npmjs.com/package/@gooddata/js-utils
- Repository: https://github.com/gooddata/gdc-js-utils
- Issues: https://github.com/gooddata/gdc-js-utils/issues
- npm.io page: https://npm.io/package/@gooddata/js-utils

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [js-cookie](https://npm.io/package/js-cookie.md) ^3.0.8

## Recent versions

- 4.2.0 (latest) — 2026-11-03
- 4.0.1-alpha-pbenes-pb-parametrize-walkme-load-2022-11-11T13-21-29-197Z (alpha) — 2022-11-11
- 3.10.6-lanhuynh-lhq-sd-970-2020-06-25T08-23-04-655Z (beta) — 2020-06-25
- 4.1.0 — 2022-11-11
- 4.0.1-alpha-pbenes-pb-parametrize-walkme-load-2022-11-09T12-25-51-374Z — 2022-11-09
- 4.0.1 — 2022-02-24
- 4.0.0 — 2021-05-03
- 3.10.17-alpha-no23reason-dho-fet-539-sdk8-types-2021-05-03T15-00-25-699Z — 2021-05-03
- 3.10.17-alpha-no23reason-dho-fet-539-sdk8-types-2021-05-03T14-50-52-987Z — 2021-05-03
- 3.10.17 — 2021-01-19
- 3.10.16-alpha-ptquang86-qp-sd-1338-naming-2021-01-19T06-23-56-597Z — 2021-01-19
- 3.10.16 — 2021-01-19
- 3.10.15-alpha-ptquang86-qp-sd-1338-naming-2021-01-15T10-15-44-167Z — 2021-01-15
- 3.10.15 — 2021-01-08
- 3.10.14-alpha-ptquang86-qp-sd-1328-naming-2021-01-07T02-30-45-162Z — 2021-01-07
- … 142 more at https://npm.io/package/@gooddata/js-utils/versions

## README

# GDC JavaScript utilities

This repo contains some basic utilities used among JavaScript frontend
applications at GoodData. Utils use babel for packaging,
so that you can use ES6 modules & syntax.

## Setup

Install [Node.js](http://nodejs.org) and [Yarn](https://classic.yarnpkg.com) (for versions, see [config](docker/.config)).

Install dependencies:

```
yarn install --frozen-lockfile
```

## Development

To run **tests**, run the following command:

    yarn test

The release needs to be done via [npm trusted publishing](https://docs.npmjs.com/trusted-publishers). Set it up if needed.
See `mock-js` for the reference implementation and consult the frontend shared credentials guideline.

---
_Source: https://npm.io/package/@gooddata/js-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
