angelamcosta / npm_sort

This repository contains a collection of sorting algorithms implemented in JavaScript.

Home Page:https://www.npmjs.com/package/@angelamcosta/sort

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@angelamcosta/sort

npm version example workflow

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.

About

This repository contains a collection of sorting algorithms implemented in JavaScript.

https://www.npmjs.com/package/@angelamcosta/sort

License:MIT License


Languages

Language:JavaScript 100.0%