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.