1.14.0 • Published 10 months ago

quarkle v1.14.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

quarkle

quarkle provides utility functions and classes to make the job easy for different operations.

Version Downloads

Installation

Using npm:

npm i quarkle

Usage

You can directly use these functions from the quarkle library.

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:

Number

  • Reverse Number
  • Prime Number
  • Palindrome Number
  • Factorial
  • Permutations
  • Combinations
  • Change Base

String

  • Reverse String
  • Palindrome String
  • Get Words
  • String Count
  • Capitalize
  • Title Case

Array

  • 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

  • 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:

Stack

  • Push
  • Pop
  • Peek
  • isFull
  • isEmpty
  • Length
  • Search

Queue

  • Enqueue
  • Dequeue
  • isFull
  • isEmpty
  • Get Front
  • Get Rear
  • Length
  • Search

You can check the whole documentation here.

1.14.0

10 months ago

1.13.0

10 months ago

1.12.0

10 months ago

1.11.0

10 months ago

1.10.0

10 months ago

1.9.0

10 months ago

1.8.0

10 months ago

1.7.0

10 months ago

1.6.0

10 months ago

1.5.0

10 months ago

1.4.0

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

11 months ago