Skip to content

amaui-org/amaui-utils

Repository files navigation



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 💛


Getting started

Add

yarn add @amaui/utils

Use

  // 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

yarn

Test

yarn test

Prod

Build

yarn build