@clarketm/supermergesort

MergeSort with superpowers! 💪

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@clarketm/supermergesort
Minified + gzip package size for @clarketm/supermergesort in KB

Readme

MergeSort

NPM release

MergeSort with superpowers! 💪

Individual Module Installation

Yarn

$ yarn add @clarketm/supermergesort

Npm

$ npm install @clarketm/supermergesort --save

API

mergeSort(arr: Array<Item>, comparator: Comparator): Array<Item>

Name Type Attribute Description
arr Array array to sort
comparator * nullable: undefined, optional: true, default: _defaultComparator

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.