Skip to content

Latest commit

 

History

History

quick-sort

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

quick-sort License: GPL v3

A TypeScript QuickSort implementation.

Prerequisites

Usage

ℹ️ This is a pure ESM module.

import quickSort from 'quick-sort';

const unsortedArray = [15, 13, 1, 22];
const sortedArray = quickSort.sort(unsortedArray);
// sortedArray === [1, 13, 15, 22]

Tests

yarn
yarn test