# @cocalc/util

> CoCalc code shared between the frontend and the backend

Latest version **1.77.2** (published 2023-09-03) · SEE LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @cocalc/util
pnpm add @cocalc/util
yarn add @cocalc/util
bun add @cocalc/util
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.77.2 |
| Published | 2023-09-03 |
| First published | 2021-08-03 |
| Weekly downloads | 0 |
| License | SEE LICENSE.md |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 21 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 1288 |
| Author | SageMath, Inc. |
| Maintainers | wstein, hasch |
| Keywords | utilities, mathjax, markdown, cocalc |

## Links

- npm: https://www.npmjs.com/package/@cocalc/util
- Repository: https://github.com/sagemathinc/cocalc
- Homepage: https://github.com/sagemathinc/cocalc/tree/master/src/packages/util
- Issues: https://github.com/sagemathinc/cocalc/issues
- npm.io page: https://npm.io/package/@cocalc/util

## Dependencies (21)

- [sha1](https://npm.io/package/sha1.md) ^1.1.1
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [async](https://npm.io/package/async.md) ^1.5.2
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.7
- [redux](https://npm.io/package/redux.md) ^4.2.1
- [events](https://npm.io/package/events.md) 3.3.0
- [jsonic](https://npm.io/package/jsonic.md) ^1.0.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [awaiting](https://npm.io/package/awaiting.md) ^3.0.0
- [reselect](https://npm.io/package/reselect.md) ^4.1.8
- [immutable](https://npm.io/package/immutable.md) ^4.3.0
- [lru-cache](https://npm.io/package/lru-cache.md) ^7.14.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [underscore](https://npm.io/package/underscore.md) ^1.12.1
- [@cocalc/util](https://npm.io/package/@cocalc/util.md) 1.77.2
- [utility-types](https://npm.io/package/utility-types.md) ^3.10.0
- [async-await-utils](https://npm.io/package/async-await-utils.md) ^3.0.1
- [get-random-values](https://npm.io/package/get-random-values.md) ^1.2.0
- [@ant-design/colors](https://npm.io/package/@ant-design/colors.md) ^6.0.0
- [json-stable-stringify](https://npm.io/package/json-stable-stringify.md) ^1.0.1
- [voucher-code-generator](https://npm.io/package/voucher-code-generator.md) ^1.3.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.77.2 (latest) — 2023-09-03
- 1.61.5 (next-sso) — 2022-08-24
- 1.44.1 (boost-dedi-5796) — 2022-05-11
- 1.34.6 (pr-5795) — 2022-04-05
- 1.33.1 (upd-hub-db-test) — 2022-04-01
- 1.30.0 (pr-5775) — 2022-03-15
- 1.29.0 (pr-5723) — 2022-03-06
- 1.12.2 (pr5538) — 2021-10-22
- 1.77.1 — 2023-09-03
- 1.77.0 — 2023-09-03
- 1.76.5 — 2023-01-03
- 1.76.4 — 2023-01-03
- 1.76.3 — 2023-01-03
- 1.76.2 — 2023-01-03
- 1.76.1 — 2023-01-03
- … 152 more at https://npm.io/package/@cocalc/util/versions

## README

CoCalc code shared between the frontend and the backend.

This is pure javascript code that can be used anywhere -- the backend servers, the frontend client, etc.

This code is part of https://github.com/sagemathinc/cocalc and isn't currently designed to be used standalone. Our plan is to refactor this code into smaller useful modules that are published under the @cocalc npm organization.

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