JSPM

npm-sorting

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q19605F
  • License ISC

some small lib to help you sorting problem, i have bubblesort, selectionsort, and mergesort

Package Exports

  • npm-sorting

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-sorting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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))