JSPM

shuffle-list

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 725
    • Score
      100M100P100Q97075F
    • License MIT

    Node module that shuffles the content of an array.

    Package Exports

    • shuffle-list

    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 (shuffle-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    shuffle-list Build Status

    Node module that shuffles the content of an array.

    Usage

    var shuffleList = require('shuffle-list');
    
    shuffleList([1, 2, 3, 4, 5]);
    //=> [4, 3, 2, 5, 1]

    API

    shuffleList(array)

    array

    Type: array

    The list to shuffle.

    License

    MIT © Emil Johansson