source random data from /dev/random
Tree or binary tree printer, print any tree to terminal or debug window
Pretty print JavaScript data types in the terminal and the browser
Tools for working with PGlite databases
WebAssembly binary format parser
Generate random numbers from various distributions.
TypeScript definitions for d3-random
Fastest random ID and random string generation for Node.js
URL and cookie safe UIDs
Use the random function in CSS
import and export tools for elasticsearch
An alias package for `crypto.randomBytes` in Node.js and/or browsers
Encrypted model attributes in your favourite ORM.
Generate a cryptographically strong random string
🐊Putout formatter stores output and dump it on end
Parsing tools that complement the @appthreat/atom project.
Random utility functions for ethers.
Dump redis database into redis commands or json with command line or node.js
A Pulumi package to safely use randomness in Pulumi programs.
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.
Provides functions for detecting if the host environment supports the WebCrypto API
Generate a random integer
Statistical routines and probability distributions.
Simple library for encrypting/decrypting strings without the boilerplate of the crypt library.
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.
Random Poetry Scraper is a command line gem which returns a configurable number of poems scraped from poemhunter.com. The gem allows you to consume the poems either through a JSON dump or through a command line "pleasure reading" interface. ~Most~ poems on poemhunter.com are in English, but not all are. If you plan to to use this gem to build a corpus of poetry, you should do additional language validation.