https://github.com/zhravan/utilite
A powerful utility library for clean code in js (npm package)
https://github.com/zhravan/utilite
bun bunjs hacktober hacktoberfest hacktoberfest-accepted hacktoberfest2023 javascript nodejs typescript typescript-library
Last synced: 10 months ago
JSON representation
A powerful utility library for clean code in js (npm package)
- Host: GitHub
- URL: https://github.com/zhravan/utilite
- Owner: zhravan
- License: mit
- Created: 2023-08-25T09:01:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-25T20:56:24.000Z (about 1 year ago)
- Last Synced: 2025-08-14T19:44:29.843Z (10 months ago)
- Topics: bun, bunjs, hacktober, hacktoberfest, hacktoberfest-accepted, hacktoberfest2023, javascript, nodejs, typescript, typescript-library
- Language: TypeScript
- Homepage: https://shravan20.github.io/utilite/
- Size: 292 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
utilite: a powerful utility library for clean code in js & ts ecosystem
---
Join us at our server for any discussion, guidance and help:
### Setup
- How to setup the code?
1. Clone the [repository](https://github.com/shravan20/utilite)
2. Provide NPM and Node.js is installed locally,
```
npm install
```
3. Now to validate if everything is working fine, please run the following command:
```
npm run check-setup
```
Voila! The successful execution ensures setup has been done properly.
---
To use as the `utilite` [npm package](https://www.npmjs.com/package/utilite):
```
npm i utilite
```
### Usage
```typescript
import { isAnyMatching, formatDate, compareJSONObject } from 'utilite';
// Array utilities
const hasEvenNumber = isAnyMatching([1, 3, 4, 5], (value) => value % 2 === 0);
// Date utilities
const formattedDate = formatDate(new Date(), 'MM/DD/YYYY');
// JSON utilities
const diff = compareJSONObject(obj1, obj2);
```
### Features Supported
- Date Utils
- Array Utils
- JSON Utils
- Math Utils
### Features to be Supported
- Function Utils
- CSV Utils