UNPKG

sorting-algorithms-lib

Version:

sorting-algorithms-lib is a lightweight JavaScript library that provides efficient implementations of various sorting algorithms. Whether you're learning algorithms, benchmarking performance, or building a project that requires sorting, this library has y

2 lines (1 loc) 103 B
export declare function insertionSort(inputArr: number[] | string[]): number[] | string[] | undefined;