Socket
Socket
Sign inDemoInstall

asyncplify-sort

Package Overview
Dependencies
17
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    asyncplify-sort

In-memory and external sort for asyncplify


Version published
Maintainers
1
Install size
522 kB
Created

Readme

Source

asyncplify-sort

In-memory and external sort for asyncplify.

External sorting performed by asyncplify can sort relatively large dataset that don't necessarily fit in memory.

Installation

npm install asyncplify-sort

Example

var asyncplify = require('asyncplify');
var asyncplifySort = require('asyncplify-sort');

asyncplify
    .range(100000)
    .map(function (v) { return 100000 - v; })
    .pipe(asyncplifySort())
    .take(2)
    .subscrible(console.log.bind(console));
    
// 1
// 2
// end.

TODO

  • Add support for sorting using multiple core. Test using worker and child process.
  • Add support for sorting on multiple machine.

License

The MIT License (MIT)

Copyright (c) 2015 Dany Laporte

Keywords

FAQs

Last updated on 16 Jul 2015

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