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

    @adriantombu/array-shuffle
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.10 • Public • Published

    Yet Another Array Shuffle Package

    npm version

    A package that... well... shuffles the values of an array. Yup. That's all. All in 206 bytes of code.

    How to use it

    • Install the library first with yarn add @adriantombu/array-shuffle
    • And then import it in your script
    const { arrayShuffle } = require('@adriantombu/array-shuffle')
    
    const myRandomArray = [ "I", "believe", "I", "can", "fly"]
    const myShuffledArray = arrayShuffle(myRandomArray)
    
    [ "fly", "I", "can", "believe", "I"]
    

    How to contribute

    • Clone the repository git clone git@github.com:adriantombu/array-shuffle.git
    • Install the packages with yarn install
    • Modify the src/index.ts file
    • When everything's done, you can send a PR \o/

    Install

    npm i @adriantombu/array-shuffle

    DownloadsWeekly Downloads

    0

    Version

    2.0.10

    License

    MIT

    Unpacked Size

    4.69 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar