@onesy/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

onesy logo

onesy 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 @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

Package Sidebar

Install

npm i @onesy/utils

Weekly Downloads

87

Version

1.0.2

License

MIT

Unpacked Size

1.08 MB

Total Files

371

Last publish

Collaborators

  • lazareric