1.0.14 • Published 6 months ago

@onesy/utils v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Getting started

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