Skip to content

omermecitoglu/array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Array

Provides some array utils

Installation

Install the package using npm:

npx jsr add @omer/array

Or with deno:

deno add jsr:@omer/array

Usage

Import 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)

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Array utils

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors