Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amaui-org/amaui-utils
Utils
https://github.com/amaui-org/amaui-utils
amaui back-end backend browser front-end frontend javascript js library node nodejs typescript util utilities utils web
Last synced: 12 days ago
JSON representation
Utils
- Host: GitHub
- URL: https://github.com/amaui-org/amaui-utils
- Owner: amaui-org
- License: mit
- Created: 2022-02-02T18:45:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T19:02:32.000Z (3 months ago)
- Last Synced: 2024-10-01T17:49:12.526Z (about 2 months 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.amaui.me/library/utils
- Size: 923 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
amaui 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 @amaui/utils
```### Use
```javascript
// Import any of the methods
import { encode, equalDeep } from '@amaui/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
```