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

7 lines (6 loc) 378 B
import { selectionSort } from './shortAlgorithms/SelectionSort'; import { insertionSort } from './shortAlgorithms/InsertionSort'; import { mergeSort } from './shortAlgorithms/MergeSort'; import { quickSort } from './shortAlgorithms/QuickSort'; import { bubbleSort } from './shortAlgorithms/BubbleSort'; export { selectionSort, insertionSort, mergeSort, quickSort, bubbleSort };