# @amaui/utils

> Utils

Latest version **1.1.40** (published 2024-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @amaui/utils
pnpm add @amaui/utils
yarn add @amaui/utils
bun add @amaui/utils
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.1.40 |
| Published | 2024-11-30 |
| First published | 2022-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.0.0 |
| Dependencies | 4 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Lazar |
| Maintainers | lazareric |
| Keywords | util, utils, utilities, frontend, front-end, backend, back-end, web, browser, javascript, js, typescript, node, nodejs, amaui, library |

## Links

- npm: https://www.npmjs.com/package/@amaui/utils
- Repository: https://github.com/amaui-org/amaui-utils
- Homepage: https://github.com/amaui-org/amaui-utils#readme
- Issues: https://github.com/amaui-org/amaui-utils/issues
- npm.io page: https://npm.io/package/@amaui/utils

## Dependencies (4)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [crypto-js](https://npm.io/package/crypto-js.md) ^4.1.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.18.3
- [path-to-regexp](https://npm.io/package/path-to-regexp.md) ^6.2.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.40 (latest) — 2024-11-30
- 1.1.38 — 2024-11-30
- 1.1.37 — 2024-11-30
- 1.1.36 — 2024-11-30
- 1.1.35 — 2024-11-30
- 1.1.34 — 2024-11-30
- 1.1.33 — 2024-11-30
- 1.1.32 — 2024-11-30
- 1.1.31 — 2024-11-30
- 1.1.30 — 2024-08-31
- 1.1.29 — 2024-08-01
- 1.1.28 — 2024-07-21
- 1.1.27 — 2024-07-21
- 1.1.26 — 2024-07-20
- 1.1.25 — 2024-07-20
- … 93 more at https://npm.io/package/@amaui/utils/versions

## README

</br>
</br>

<p align='center'>
  <a target='_blank' rel='noopener noreferrer' href='#'>
    <img width='auto' height='84' src='https://raw.githubusercontent.com/onesy-me/onesy/refs/heads/main/utils/images/logo.png' alt='onesy logo' />
  </a>
</p>

<h1 align='center'>onesy Utils</h1>

<h3 align='center'>
  <sub>MIT license&nbsp;&nbsp;&nbsp;&nbsp;</sub>
  <sub>Production ready&nbsp;&nbsp;&nbsp;&nbsp;</sub> 
  <sub>100% test cov&nbsp;&nbsp;&nbsp;&nbsp;</sub>
  <sub>Browser and Nodejs</sub>
</h3>

<p align='center'>
    <sub>Very simple code&nbsp;&nbsp;&nbsp;&nbsp;</sub>
    <sub>Modern code&nbsp;&nbsp;&nbsp;&nbsp;</sub>
    <sub>Junior friendly&nbsp;&nbsp;&nbsp;&nbsp;</sub>
    <sub>Typescript&nbsp;&nbsp;&nbsp;&nbsp;</sub>
    <sub>Made with :yellow_heart:</sub>
</p>

<br />

### Add

```sh
yarn add @onesy/utils
```

### Use

```javascript
  // Import any of the methods
  import { encode, equalDeep } from '@onesy/utils';

  const value = { a: 'a', b: [{ a: 4 }] };

  encode(value);

  // 'eyJhIjoiYSIsImIiOlt7ImEiOjR9aa0='

  equalDeep(value, { a: 'a', b: [{ a: 4 }] });

  // true

  // etc.
```

### Dev

Install

```sh
yarn
```

Test

```sh
yarn test
```

### Prod

Build

```sh
yarn build
```

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