JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q51929F
  • License ISC

A library for working with randomness

Package Exports

  • randomiz
  • randomiz/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (randomiz) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Randomiz - Randomness is easy now!

A lightweight JavaScript utility library for generating random numbers, selecting random elements, and shuffling arrays. This module provides commonly used randomization utilities to simplify your code.

Introduction

This library includes utility functions for:

  • Generating random floating-point numbers.
  • Generating random integers.
  • Randomly shuffling an array.
  • Selecting random elements from a list.

These functions are useful for game development, data sampling, and other scenarios requiring randomness.

Features

  • Simple and lightweight: Minimal code, no dependencies.
  • Versatile: Functions support various use cases for randomness.
  • Customizable: Specify ranges and counts for randomness.

Installation

Add the library to your project by copying the code or using a package manager.

Simply use module = require('randomiz') or import moduleName from 'randomiz';