@angelamcosta/sort
v1.2.0
Published
My personal sort functions in JS.
Downloads
8
Maintainers
Readme
@angelamcosta/sort
Description
@angelamcosta/sort is a JavaScript library that provides several sorting algorithms.
Installation
npm install @angelamcosta/sort
Usage
const { bubbleSort } = require('@angelamcosta/sort');
const arr = [3, 6, 2, 1, 9];
const sortedArr = bubbleSort(arr);
console.log(sortedArr); // Output: [1, 2, 3, 6, 9]
Algorithms
The following sorting algorithms are available in this library:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort (soon)
- Quick Sort (soon)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Credits
Support
If you have any questions or issues, please contact the author.
Issues
If you find any bugs or have any suggestions, please file an issue here.