Socket
Socket
Sign inDemoInstall

aqsort

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aqsort

Asynchronous qsort implemented in JavaScript


Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
1
Install size
91.7 kB
Created
Weekly downloads
 

Readme

Source

AsyncQsort

An implementation of asynchronous quicksort in JavaScript

Build Status

Install

$ npm install aqsort

Usage

var aqsort = require('aqsort');

aqsort([1, 9, 3, 7], function(a, b, callback) {
  if (a > b) { callback(null, 1); }
  else if (a === b) { callback(null, 0); }
  else { callback(null, -1); }
}, function(err, res) {
  // res === [1, 3, 7, 9]
});

FAQs

Last updated on 02 Dec 2014

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc