sorting-helper

    0.1.2 • Public • Published

    npm-sorting

    A Simple Sorting Library to help you sorting, i have 3 Sorting now, and the sorting with Array data.


    How To Install

    npm install --save npm-sorting

    How To Use

    const sort = require('npm-sorting')
     
    let data = [10,5,2,5,70,99,88,100,40,16]
    //This For Bubble Sort
    console.log(sort.bubbleSort(data))
    //This For Merge Sort
    console.log(sort.mergeSort(data))
    //This For Selection Sort
    console.log(sort.selectionSort(data))

    Install

    npm i sorting-helper

    DownloadsWeekly Downloads

    2

    Version

    0.1.2

    License

    ISC

    Last publish

    Collaborators

    • antoniangga