Negligible Psychological Misery
    Wondering what’s next for npm?Check out our public roadmap! »

    @philskat/js-sort
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    Node.js CI npm bundle size npm Gitpod ready-to-code

    js-sort

    This npm package contains a few sorting algorithms to sort arrays of numbers.

    Quicksort

    const { quicksort } = require('js-sort');
    
    const arr = quicksort([3, 1, 2]);

    Bubblesort

    const { bubblesort } = require('js-sort');
    
    const arr = bubblesort([3, 1, 2]);

    Install

    npm i @philskat/js-sort

    DownloadsWeekly Downloads

    21

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.92 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar