# @mongodb-js/compass-utils

> Utilities for MongoDB Compass Development

Latest version **0.10.8** (published 2026-10-30) · SSPL license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.10.8 |
| Published | 2026-10-30 |
| First published | 2022-09-22 |
| Weekly downloads | 0 |
| License | SSPL |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 55.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1497 |
| Author | MongoDB Inc |
| Maintainers | satyasinha, kristina.stefano, jarjee, devtoolsbot, mongo-j, nbbeeken, dbx-node, devtools-npm-user |

## Links

- npm: https://www.npmjs.com/package/@mongodb-js/compass-utils
- Repository: https://github.com/mongodb-js/compass
- Issues: https://jira.mongodb.org/projects/COMPASS/issues
- npm.io page: https://npm.io/package/@mongodb-js/compass-utils

## Dependencies (2)

- [electron](https://npm.io/package/electron.md) ^45.1.0
- [@electron/remote](https://npm.io/package/@electron/remote.md) ^2.1.3

## Recent versions

- 0.10.8 (latest) — 2026-10-30
- 0.0.0-next-e20763a4901d6f8dbea880c350b1e78d14afec4a (next) — 2025-01-21
- 0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18 (experimental) — 2022-09-26
- 0.10.7 — 2026-10-29
- 0.10.6 — 2026-10-06
- 0.10.5 — 2026-10-05
- 0.10.4 — 2026-09-25
- 0.10.3 — 2026-09-16
- 0.10.2 — 2026-07-15
- 0.10.1 — 2026-07-01
- 0.10.0 — 2026-06-17
- 0.9.33 — 2026-04-20
- 0.9.32 — 2026-04-17
- 0.9.31 — 2026-03-26
- 0.9.30 — 2026-03-11
- … 525 more at https://npm.io/package/@mongodb-js/compass-utils/versions

## README

# compass-utils

This is a package containing utilities that are useful across Compass.

Before adding something to this package, please consider whether there is a more appropriate location!

Examples of items that do _not_ belong in this package:

- Code that depends on other Compass packages
- Code that depends on packages which require a specific execution environment
- React Components, CSS templates, etc. (→ `compass-components`)
- Code for working with MongoDB BSON documents (→ `hadron-document`)
- Debugging utilities (→ `compass-logging`)
- Scripts for working with the Compass monorepo
- …

Examples of items that _could_ belong in this package:

- lodash-style helpers for working with JS objects (which are not provided by lodash itself)
- Helpers for promisifying legacy dependencies that are used across packages
- Types for legacy dependencies that are used across packages

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