utilite
v1.0.1
Published
Powerful utility library for JS
Maintainers
Readme
Setup
- How to setup the code?
Clone the repository
Provide NPM and Node.js is installed locally,
npm install- Now to validate if everything is working fine, please run the following command:
npm run check-setupVoila! The successful execution ensures setup has been done properly.
To use as the utilite npm package:
npm i utiliteUsage
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
