# @compai/util

> Utilities for Components AI.

Latest version **0.0.27** (published 2021-08-25) · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.27 |
| Published | 2021-08-25 |
| First published | 2020-08-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 12 |
| Unpacked size | 72.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | johno |

## Links

- npm: https://www.npmjs.com/package/@compai/util
- npm.io page: https://npm.io/package/@compai/util

## Dependencies (12)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [pascalcase](https://npm.io/package/pascalcase.md) ^1.0.0
- [deep-extend](https://npm.io/package/deep-extend.md) ^0.6.0
- [fast-memoize](https://npm.io/package/fast-memoize.md) ^2.5.2
- [lodash.sample](https://npm.io/package/lodash.sample.md) ^4.2.1
- [lodash.sortby](https://npm.io/package/lodash.sortby.md) ^4.7.0
- [lodash.flatten](https://npm.io/package/lodash.flatten.md) ^4.4.0
- [lodash.shuffle](https://npm.io/package/lodash.shuffle.md) ^4.2.0
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [lodash.kebabcase](https://npm.io/package/lodash.kebabcase.md) ^4.1.1

## Recent versions

- 0.0.27 (latest) — 2021-08-25
- 0.0.26 — 2021-06-24
- 0.0.25 — 2021-06-11
- 0.0.24 — 2021-04-23
- 0.0.23 — 2021-03-31
- 0.0.22 — 2021-03-09
- 0.0.21 — 2021-03-03
- 0.0.20 — 2021-02-25
- 0.0.19 — 2021-02-24
- 0.0.18 — 2021-02-23
- 0.0.17 — 2021-02-22
- 0.0.16 — 2021-02-15
- 0.0.15 — 2021-01-23
- 0.0.14 — 2020-12-08
- 0.0.13 — 2020-12-08
- … 13 more at https://npm.io/package/@compai/util/versions

## README

# @compai/util

Utilities for Components AI.

This is primarily intended to be used internally by Components AI, so use
this with caution and expect breaking changes.

## Installation

```sh
yarn add @compai/util
```

## Usage

### hash

```js
import { hash } from '@compai/util'

console.log(hash('Hello, world!'))
```

### uniq

```js
import { uniq } from '@compai/util'

console.log(uniq(['a', 'a', 'b']))
```

---

> OSS by [Components AI](https://components.ai).

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