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

    node-red-contrib-array-permutations

    0.0.4 • Public • Published

    node-red-contrib-array-permutations

    node-red function that takes an array then generates pair permutations of all cells in a loop or generation of cloned messages. For loop then message sent to second output on return to input port it sends the next permutation in loop until all have been processed.

    Array Permutations


    Install

    Run the following command in the root directory of your Node-RED install or via GUI install

    npm install node-red-contrib-array-permutations
    

    Test

    Folder test contains a flow that tests the various combinations.

    Tests


    Version

    0.0.4 fix bug with loop and ensure all separated messages have unique id.

    0.0.3 if error set msg.error and send to error port. Fix bug with loop

    0.0.1 base

    Author

    Peter Prib

    Install

    npm i node-red-contrib-array-permutations

    DownloadsWeekly Downloads

    2

    Version

    0.0.4

    License

    GPL-3.0

    Unpacked Size

    380 kB

    Total Files

    15

    Last publish

    Collaborators

    • avatar