Foundation utilities for Discord bots and dashboards. String, time, array, async and random helpers.
Tiny queue data structure
Run an array of functions in parallel, but limit the number of tasks executing at the same time
JavaScript date/time utilities for Vega.
Lazy-evaluating list of files, based on globs or regex patterns
Parses set-cookie headers into objects
Array manipulation, ordering, searching, summarizing, etc.
Curated collection of data structures for the JavaScript/TypeScript.
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
<img alt="Third Party Capital Logo" title="Third Party Capital Logo" src="https://user-images.githubusercontent.com/12476932/229881508-f9ef68db-8ee7-4795-8de8-80a50145bbd0.png" width="150">
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Call an array of promise-returning functions, restricting concurrency to a specified limit.
just emit 'log' events on the process object
Robustly get the byte offset of a Typed Array
Convert a typed array to a Buffer without a copy
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Get the ArrayBuffer out of a TypedArray, robustly.
Robustly get the byte length of a Typed Array
Spinners for use in the terminal
A simple list of possible Typed Array names.
Is this value a JS ArrayBuffer?
Is this value a JS SharedArrayBuffer?
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Some tools to deal with time based arrays
Built to mimic Python's counter method. This gem monkey patches a method to the Array class. Recordkeeper takes an array and returns a hash with a record of the number of times an element within the array is repeated
ruby gem for getting the frequency of an item in a sorted array in log time
Detect and convert short strings into integers, floats, dates, times, booleans, arrays, and hashes - "like a human would". Based on YAML and JSON.
Adds extensions to Array, Date, Enumerable, File, Hash, IO, String, Time, etc.
You'll be able to use Array#bogosort (this is an alias for: Array#bogo_sort) And Array#bogosort! (this is an alias for: Array#bogo_sort!) But Array#bogo_sort can't sort Array include some Classes that can't compared At this time, Array#bogo_sort return nil
Simple gem that generates round robin matches based on a received array of participants and an amount of times they will face each other.
Takes an array of integers, and sorts it using various algorithms, and reports back the sort time benchmarks for those algorithms.
Enumerator abstraction layer that emulates certain array functionality (methods like empty?, slice, shift and more) by using a small cache and other tricks without loading all the data from the enumerator at the same time.
Compare two arrays in interactive way, yields block with arguments: event, current_item, previous_item. Takes O(n) time.
String, time, file, crypto, array, validation, debug, DSL, formatting and more.
Whenever I loop through an array, there are times I wish I could know what comes before or after the item I am currently one. Including prev/next index calculations. This gem helps you with that. However, it would be better for you to create your own since you will probably not like my way of doing it.
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.