https://github.com/onesy-me/utils
Utils
https://github.com/onesy-me/utils
amaui back-end backend browser front-end frontend javascript js library node nodejs typescript util utilities utils web
Last synced: about 1 year ago
JSON representation
Utils
- Host: GitHub
- URL: https://github.com/onesy-me/utils
- Owner: onesy-me
- License: mit
- Created: 2022-02-02T18:45:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T14:16:24.000Z (about 1 year ago)
- Last Synced: 2025-05-14T07:58:35.351Z (about 1 year ago)
- Topics: amaui, back-end, backend, browser, front-end, frontend, javascript, js, library, node, nodejs, typescript, util, utilities, utils, web
- Language: TypeScript
- Homepage: https://docs.onesy.me/library/utils
- Size: 788 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
onesy Utils
Utils
MIT license
Production ready
100% test cov
Browser and Nodejs
Very simple code
Modern code
Junior friendly
Typescript
Made with :yellow_heart:
## Getting started
### Add
```sh
yarn add @onesy/utils
```
### Use
```javascript
// 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
```sh
yarn
```
Test
```sh
yarn test
```
### Prod
Build
```sh
yarn build
```