@angelamcosta/sort

1.2.0 • Public • Published

@angelamcosta/sort

npm version

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.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @angelamcosta/sort

    Weekly Downloads

    1

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    4.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • angelamcosta