quarkle is the JavaScript util library providing support of all data types and data structures.
npm install quarklequarkle provides utility functions and classes to make the job easy for different operations.


Using npm:
``bash`
npm i quarkle
You can directly use these functions from the quarkle library.
`js copy
import { reverseNumber } from "quarkle";
const number = 5698;
reverseNumber(number); // Returns the result 8965
`
Currently number, string and array data types are supported. Operations supported on the data types are:
- Reverse Number
- Prime Number
- Palindrome Number
- Factorial
- Permutations
- Combinations
- Change Base
- Reverse String
- Palindrome String
- Get Words
- String Count
- Capitalize
- Title Case
- Minimum Array
- Maximum Array
- Array Product
- Rotate Array
- Mean
- Median
- Mode
- Root Mean Square
- Variance
- Standard Deviation
- Remove Duplicates
- Histogram
- Greatest Common Divisor (GCD)
- Least Common Multiple (LCM)
- Matrix Addition
- Matrix Subtraction
- Matrix Multiplication
- Scalar Multiplication
- Matrix Transpose
- Matrix Determinant
- Matrix Adjoint
- Matrix Inverse
- Matrix Flatten
Also, stack and queue` data structures are currently supported with following operations:
- Push
- Pop
- Peek
- isFull
- isEmpty
- Length
- Search
- Enqueue
- Dequeue
- isFull
- isEmpty
- Get Front
- Get Rear
- Length
- Search
You can check the whole documentation here.