@amaui/utils

Utils

Usage no npm install needed!

<script type="module">
  import amauiUtils from 'https://cdn.skypack.dev/@amaui/utils';
</script>

README


AMAUI Utils

Utils


MIT license     Production ready     All methods 37.1kb gzipped     100% test cov     Browser and Nodejs

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


Getting started

Add

  // yarn
  yarn add @amaui/utils

  // npm
  npm install @amaui/utils

Use

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

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

  encode(value);

  // 'eyJhIjoiYSIsImIiOlt7ImEiOjR9XX0='

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

  // true

  // etc.

Dev

Install

  yarn

Test

  yarn test

Prod

Build

  yarn build

Docs

Might be soon...