1.0.1 • Published 4 years ago

@bemoje/arr-selection-sort-numeric v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@bemoje/arr-selection-sort-numeric

Selection sort array

Version

Travis CI

Dependencies

Stats

Donate

Installation

npm install @bemoje/arr-selection-sort-numeric
npm install --save @bemoje/arr-selection-sort-numeric
npm install --save-dev @bemoje/arr-selection-sort-numeric

Usage

import arrSelectionSortNumeric from '@bemoje/arr-selection-sort-numeric'

arrSelectionSortNumeric([5, 2, 1, 4, 3])
//=> [1, 2, 3, 4, 5]

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

arrSelectionSortNumeric

Selection sort array

Parameters
  • arr Array The array to sort
Returns

Array The sorted array