Skip to content

kyusora/ransyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ransyr

npm version license downloads

Python-like random utilities for JavaScript, designed to make your life easier 😎


Description

ransyr is a random tools that imitate python style.

You Can Use Custom Seed

randx.randomseed(27382: number)
console.log(randx.random())

Usage Example

import randx from 'ransyr';

const arr = ["apple", "banana", "cherry"];
console.log(randx.choice(arr));
console.log(randx.random());

About

python like random

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published