Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

usort

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usort

"An npm package which will be multifunctional , fast and similar to bebop....!"

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

usort.js

It's an npm package for testing various sorting algorithms .

Installation

npm i usort

How to uSort..!

const usort = require("usort");

var arr = [1, 4, 5, 32, 53, 22, 12];

arr = usort.mergeSort(arr);

console.log(arr);

arr = usort.bubbleSort(arr);

console.log(arr);

arr = usort.quickSort(arr);

console.log(arr);

arr = usort.insertionSort(arr);

console.log(arr);

Algoritms

* Sorting
    * Bubble Sort
    * Selection Sort
    * Insertion Sort
    * Merge Sort

Authors

  • Naveen Singh

Keywords

sorting

FAQs

Package last updated on 10 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts