Verify if a number is an integer or a float.
Generate a random integer
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
CLI arguments parser. Native port of python's argparse.
Get consecutively unique elements from an array
[](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)
Use flow-relative (inline-start and inline-end) values for float and clear
A CEL evaluator for ECMAScript
Get a random item from an array
Implements the WebIDL algorithms for converting to and from JavaScript values
Floating tooltip component
TypeScript / JavaScript library for detect WebAssembly features in node.js & browser
Get the default network gateway, cross-platform.
Platform float word order.
GraphQL Semantic Output Conversion Kit - converts a cutting edge SDL file that supports semantic nullability into a more traditional SDL file legacy tools can support.
Generate fake data deterministically from a given input
An AsyncAPI schema parser for Avro 1.x schemas.
Translation between JavaScript values and Buffers
Seedable random number generator supporting many common distributions.
Parse, convert and manipulate colors
TypeScript definitions for mersennetwister
Binary Mac OS X Plist (property list) creator.
Easily use Headless UI for React with Floating UI (Popper.js)
ngx-float-ui is an Angular wrapper for Floating UI
ar_pg_array includes support of PostgreSQL's int[], float[], text[], timestamptz[] etc. into ActiveRecord. You could define migrations for array columns, query on array columns.
ApplixHash#from_argv builds hashes from ARGV like argument vectors according to following examples: '-f' --> { :f => true } '--flag' --> { :flag => true } '--flag:false' --> { :flag => false } '--flag=false' --> { :flag => 'false' } '--option=value' --> { :option => "value" } '--int=1' --> { :int => "1" } '--float=2.3' --> { :float => "2.3" } '--float:2.3' --> { :float => 2.3 } '--txt="foo bar"' --> { :txt => "foo bar" } '--txt:'"foo bar"'' --> { :txt => "foo bar" } '--txt:%w{foo bar}' --> { :txt => ["foo", "bar"] } '--now:Time.now' --> { :now => #<Date: 3588595/2,0,2299161> } remaining arguments(non flag/options) are inserted as [:arguments, args], eg: Hash.from_argv %w(--foo --bar=loo 123 now) becomes { :foo => true, :bar => 'loo', :arguments => ["123", "now"] }
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.