https://github.com/chausme/simple-bubble-sort
Simple bubble sort algorithm implementation
https://github.com/chausme/simple-bubble-sort
algorithm algorithms javascript sort sorting
Last synced: 6 months ago
JSON representation
Simple bubble sort algorithm implementation
- Host: GitHub
- URL: https://github.com/chausme/simple-bubble-sort
- Owner: chausme
- License: mit
- Created: 2022-12-26T08:01:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T11:45:47.000Z (over 2 years ago)
- Last Synced: 2025-03-20T17:05:48.812Z (9 months ago)
- Topics: algorithm, algorithms, javascript, sort, sorting
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Simple Bubble Sort
[](https://www.npmjs.com/package/simple-bubble-sort)
Simple bubble sort algorithm implementation
# Install
```bash
npm install simple-bubble-sort
yarn add simple-bubble-sort
```
# Usage
```javascript
import bubbleSort from 'simple-bubble-sort';
const sorted = bubbleSort([10, 2, 5, 99, 7, 0]); // [0, 2, 5, 7, 10, 99]
```