A simple, zero-dependency package that can generate random values.
An ultra-light (192b gzip) uuid like random value generator
small mock generator with semi-random value generator. easy to use
Random value generator module
Statistical routines and probability distributions.
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.
Pseudo-random value generator
CSV and object generation implementing the Node.js `stream.Readable` API
Simple hex random value generator
A functional typescript implementation of the PCG family random number generators
Random number generator using xorshift128+
Random utility functions for ethers.
Generate random numbers from various distributions.
Copy a descriptor from object A to object B
Generate a random integer
een random value generator voor een sensors binnen een project.
An alias package for `crypto.randomBytes` in Node.js and/or browsers
minimal and simple random value generator.
Universal Module for Secure Random Generator in JavaScript
A tiny (118 bytes), secure URL-friendly unique string ID generator
A package to seed your database using Drizzle ORM
Secure, audited & minimal implementation of BIP39 mnemonic phrases
Generate unique and memorable names
Meteor's Random Package for Straight Node
Generates a random value. That is all.
`Tekido` generates various random value.
Fluentd custom plugin to generate random values
Generators for random values (ints, strings, arrays, hashes etc.)
Fluentd custom plugin to generate random values in tag
It determines types of fields(attributes) of an ActiveRecord model and creates records with random values for each of these attributes.
Generates consistent random values within a defined scope, ensuring deterministic behavior for use in feature rollouts and other scoped operations.
A gem containing a module that generates random values of many different types.
Random value generator of several distributions
Easily generate strings supplying a very simple pattern. '10-20:Xn/x/'.generate #>qBstvc6JN8ra. Generate random strings using a regular expression (Regexp): /[a-z0-9]{2,5}w+/.gen . Also generate words in English or Spanish. Perfect to be used in test data factories. Also, validate if a text fulfills a specific pattern or even generate a string following a pattern and returning the wrong length, value... for testing your applications.
Temporally Ordered IDs. Generate universally unique identifiers (UUID) that sort lexically in time order. Torid exists to solve the problem of generating UUIDs that when ordered lexically, they are also ordered temporally. I needed a way to generate ids for events that are entering a system with the following criteria: 1. Fast ID generation 2. No central coordinating server/system 3. No local storage 4. Library code, that is multiple apps on the same machine can use the same code and they will not generate duplicate ids 5. Eventually stored in a UUID field in a database. So 128bit ids are totally fine. The IDs that Torid generates are 128bit IDs made up of 2, 64bit parts. * 64bit microsecond level UNIX timestamp * 64bit hash of the system hostname, process id and a random value.
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. Raise an exception if the script returns a non-zero value. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a successful exec or equivalent, run exit(1) or exit!(1) ourselves. Useful to make sure a forked block either runs a successful exec or dies. Any exceptions from the block are printed to standard error. overwrite:: Safely replace a file. Writes to a temporary file and then moves it over the old file. tempname_for:: Generates an unique temporary path based on a filename. The generated filename resides in the same directory as the original one. try_n_times:: Retries a block of code until it succeeds or a maximum number of attempts (default 10) is exceeded. Exception#to_formatted_string:: Return a string that looks like how Ruby would dump an uncaught exception. IO#best_datasync:: Try fdatasync, falling back to fsync, falling back to flush. Random#exp:: Return a random integer 0 ≤ n < 2^argument (using SecureRandom). Random#float:: Return a random float 0.0 ≤ n < argument (using SecureRandom). Random#int:: Return a random integer 0 ≤ n < argument (using SecureRandom). Password:: A small wrapper for String#crypt that does secure salt generation and easy password verification.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.