Skip to main content
Deno 2 is finally here 🎉️
Learn more

deno_shuffle

tag Build Status license

The Fisher-Yates (aka Knuth) shuffle for Deno. See a great visualization.

Usage

import shuffle from "https://deno.land/x/shuffle/mod.ts";

shuffle(["a", "b", "c", "d"]);

Example

deno run https://deno.land/x/shuffle/example.ts

About

License

deno_shuffle is released under the MIT License. See the bundled LICENSE file for details.