Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amaui-org/amaui-utils

Utils
https://github.com/amaui-org/amaui-utils

amaui back-end backend browser front-end frontend javascript js library node nodejs typescript util utilities utils web

Last synced: 12 days ago
JSON representation

Utils

Awesome Lists containing this project

README

        



amaui logo

amaui Utils


Utils



MIT license    
Production ready    
100% test cov    
Browser and Nodejs


Very simple code    
Modern code    
Junior friendly    
Typescript    
Made with :yellow_heart:


## Getting started

### Add

```sh
yarn add @amaui/utils
```

### Use

```javascript
// Import any of the methods
import { encode, equalDeep } from '@amaui/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
```