arraysorts
The NPM package for sorting the array using standard algorithms.
Last updated 2 years ago by rajatkatiyar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install arraysorts 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (2 years ago)

3 Versions

  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |