🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

utilite

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilite

Powerful utility library for JS

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
17
142.86%
Maintainers
1
Weekly downloads
 
Created
Source

logo

utilite: a powerful utility library for clean code in js & ts ecosystem

Join us at our server for any discussion, guidance and help: logo

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-setup

Voila! The successful execution ensures setup has been done properly.

To use as the utilite npm package:

  npm i utilite

Usage

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

Keywords

validation

FAQs

Package last updated on 25 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts