Skip to content

$random'ish #2022 tech# random package made with love and randomness

License

Notifications You must be signed in to change notification settings

hikariware/random

Repository files navigation

random

fuck the randomize fuckrz heres a good pakage

download

npm i @hikariware/random
# or
yarn add @hikariware/random

usag

// eslint-disable-next-line @typescript-eslint/no-var-requires (for typefuck usrs)
globalThis.random = require("@hikariware/random") // as typeof import("hikariware/random").random;

doc

random(min: number, max: number): number;
random<T>(arr: T[]): T;
random<T, N = 1>(arr: T[], amount: N): (T[] & {length: N});

About

$random'ish #2022 tech# random package made with love and randomness

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages