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