# arraysorts

> The NPM package for sorting the array using standard algorithms.

Latest version **0.0.3** (published 2017-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install arraysorts
pnpm add arraysorts
yarn add arraysorts
bun add arraysorts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-12-20 |
| First published | 2017-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | “Rajat |
| Maintainers | rajatkatiyar |

## Links

- npm: https://www.npmjs.com/package/arraysorts
- Repository: https://github.com/rajatk69/sortarray
- Homepage: https://github.com/rajatk69/sortarray#readme
- Issues: https://github.com/rajatk69/sortarray/issues
- npm.io page: https://npm.io/package/arraysorts

## Dependencies (1)

- [async](https://npm.io/package/async.md) ^2.4.0

## Recent versions

- 0.0.3 (latest) — 2017-12-20
- 0.0.2 — 2017-12-20
- 0.0.1 — 2017-12-20

## README

# arraysorts
The NPM package for sorting the array using standard algorithms.

## Installation
```
npm install arraysorts
```

## Running Example File
```
node example.js
```

## Example Code
```
var arraysorts = require('arraysorts');
var async = require('async');

var algoName = 'bubble';

async.auto({
  fetchSortedArray:function(next){
    arr = [23,34,12,4,56,21,4];
    arraysorts(arr,algoName,next)}
  },function(err,results){
    console.log(algoName,"-->",results.fetchSortedArray)
})

```
## Key for Sorting Algorithm
>'insertion' for insertionSort

>'selection' for selectionSort

>'bubble' for bubbleSort

## License
This project is licensed under the MIT License - see the LICENSE file for details

---
_Source: https://npm.io/package/arraysorts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
