Provides some array utils
Install the package using npm:
npx jsr add @omer/arrayOr with deno:
deno add jsr:@omer/arrayImport the utility function and use it in your project:
import { shuffle } from "@omer/array";
const numbers = [1, 2, 3, 4, 5];
const shuffledNumbers = shuffle(numbers);
console.log(shuffledNumbers); // Output: [3, 1, 5, 2, 4] (random order)This project is licensed under the MIT License. See the LICENSE file for details.