npm.io
1.1.40 • Published 1 year ago

@amaui/utils

Licence
MIT
Version
1.1.40
Deps
4
Size
1.0 MB
Vulns
1
Weekly
0
Stars
3


onesy logo

onesy Utils

MIT license     Production ready     100% test cov     Browser and Nodejs

Very simple code     Modern code     Junior friendly     Typescript     Made with


Add

yarn add @onesy/utils

Use

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

yarn

Test

yarn test
Prod

Build

yarn build

Keywords