Efficiently select unique, non-repeating random elements from arrays with @smakss/random-array-element. Ideal for varied applications needing random but exhaustive array item selection.
Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes
An alias package for `crypto.randomBytes` in Node.js and/or browsers
A small implementation of `crypto.getRandomValues` for React Native. This is useful to polyfill for libraries like [uuid](https://www.npmjs.com/package/uuid) that depend on it.
Generate a random integer
Effortlessly generate customizable random strings with @smakss/random-string. Ideal for creating dummy strings, custom-length passwords, or unique identifiers. Integrates seamlessly with both CommonJS and ECMAScript modules.
Get consecutively unique elements from an array
Rope-based persistent sequence type
RFC9562 UUIDs
`window.crypto.getRandomValues` with fallback to Node.js crypto
Get an available port
Securely generate random passwords with @smakss/password-generator. Customizable for length, characters, and complexity, it's perfect for both individual and bulk password creation.
[](https://discord.gg/poimandres)
Cryptographic key pairs for the XRP Ledger
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Mock `window.Date` when run unit test cases with jest. Make tests of `Date` easier.
TypeScript definitions for d3-random
Random numbers.
Fastest random ID and random string generation for Node.js
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Operation with random numbers for ngraph.*
Get a random item from an array
Generate random numbers from various distributions.
Enhance your searching capabilities with @smakss/search. Effortlessly find keywords in arrays, nested arrays, and objects, perfect for deep search needs in various data structures.