1.2.0 • Published 5 months ago

fast-sort-search v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

Array Sort and Search Package

A simple npm package for sorting and Searching arrays using the bubble sort and Linear Search algorithm.

Installation

You can install the package using npm:

npm i fast-sort-search


Usage

Import the package and use the fastSort function to sort arrays:

const { fastSort } = require('fast-sort-search');

const unsortedArray = [5, 2, 9, 1, 5, 6];   
const sortedArray = fastSort(unsortedArray);

console.log(sortedArray); // Output: [1, 2, 5, 5, 6, 9]

#Note: This package also work with alphabets/Strings

# Similar way you can use fastSearch() for searching Number or String Positions in Array and
# It will return index.


## Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
1.2.0

5 months ago

1.1.0

5 months ago

1.0.0

5 months ago