@memen/randomize

1.0.2 • Public • Published

Randomize

This module provides a simple class for randomizing strings using the Fisher-Yates algorithm.

Installation

npm i @memen/randomize

Usage

const StringRandomizer = require('@memen/randomize');

const inputString = 'Hello, World!';
const randomizer = new StringRandomizer(inputString);
const randomizedString = randomizer.randomizeString();

console.log('Original String:', inputString);
console.log('Randomized String:', randomizedString);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

/@memen/randomize/

    Package Sidebar

    Install

    npm i @memen/randomize

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    1.7 kB

    Total Files

    3

    Last publish

    Collaborators

    • memen