Tool to organize arrays of objects in sub-arrays grouped by value-ranges that is near a central value provided
Compile regular expressions using named groups to ES5.
Compile regular expressions using duplicate named groups to index-based groups.
list of SPDX standard license exceptions
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
A JavaScript library to group time zones based on offset (DST-aware), name or region.
Array manipulation, ordering, searching, summarizing, etc.
Create Uint8Array buffers from hexadecimal strings, and vice versa.
AWS SDK for JavaScript Resource Groups Tagging Api Client for Node.js, Browser and React Native
Tag and run groups of tests with Jest
the complete solution for node.js command-line programs
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.
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
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.
Robustly get the byte length of a Typed Array
Robustly get the byte offset of a Typed Array
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Robustly get the length of a Typed Array
Get the ArrayBuffer out of a TypedArray, robustly.
AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native
[1,2,3,4,5].in_groups(2) => [ [1,2,3], [4,5] ] ------------------------------------------------------- [1,2,3,4,5].in_groups_of(2) => [ [1,2], [3,4], [5] ] ------------------------------------------------------- [1,2,3,4,5].in_groups_of(2, nil_fill: true) => [ [1,2], [3,4], [5,nil] ] ------------------------------------------------------- This allows the grouping of an array into different "groups". Great for threading long arrays by group or making them rectangular.
[1, 2, 4, 5] #~> [[1, 2], [2, 4], [4, 5]]
This gem takes an array of elements, groups them by their ordered closest neighbors into n groups.
Provides easy way for grouping constants into arrays
An array with priority groups within it
Sums array contents in moving groups with the assumption that fibonacci is the base.
The group of symmetries of the square, applied to Ruby arrays of n elements that are arrays of n elements, for some value of n.
Created to fill a need in supplying two arrays (a,b) of varying size and representing a third array (c) that uses items from the first array (a) and reversably encodes it into items from the second array (b) and returns the fourth array (d). Decoding using the same arrays should turn fourth array (d) into the third array (c). Examples include letters to numbers, musical notes to colors, or any other grouping of objects describable as an array words.
Groups consecutive monotonic sequences in arrays into ranges. Supports any Comparable type with succ method.
Paramoid is a gem that extends Rails Strong Parameters, allowing to declare complex params structures with a super cool DSL, supporting required params, default values, groups, arrays and more.
== DESCRIPTION: Wrapper library for myID.net's Group ID API == FEATURES/PROBLEMS: * TBD == SYNOPSIS: require 'group_open_id' # Initialize a client GroupOpenID::Client.app_key = 'your_application_key' client = GroupOpenID::Client.new('user_open_id_url', 'user_key') group_id = GroupOpenID::URI.new('http://ruby.myid.net', client) # Get the membership location puts group_id.membership_location # => 'http://some.url/' # Get member lists puts group_id.members # => array of GroupOpenID::Member # Determine where a given open_id is the member of a group id puts group_id.member?('http://deepblue.myid.net') # => true
FatTable is a gem that treats tables as a data type. It provides methods for constructing tables from a variety of sources, building them row-by-row, extracting rows, columns, and cells, and performing aggregate operations on columns. It also provides as set of SQL-esque methods for manipulating table objects: select for filtering by columns or for creating new columns, where for filtering by rows, order_by for sorting rows, distinct for eliminating duplicate rows, group_by for aggregating multiple rows into single rows and applying column aggregate methods to ungrouped columns, a collection of join methods for combining tables, and more. Furthermore, FatTable provides methods for formatting tables and producing output that targets various output media: text, ANSI terminals, ruby data structures, LaTeX tables, Emacs org-mode tables, and more. The formatting methods can specify cell formatting in a way that is uniform across all the output methods and can also decorate the output with any number of footers, including group footers. FatTable applies formatting directives to the extent they makes sense for the output medium and treats other formatting directives as no-ops. FatTable can be used to perform operations on data that are naturally best conceived of as tables, which in my experience is quite often. It can also serve as a foundation for providing reporting functions where flexibility about the output medium can be quite useful. Finally FatTable can be used within Emacs org-mode files in code blocks targeting the Ruby language. Org mode tables are presented to a ruby code block as an array of arrays, so FatTable can read them in with its .from_aoa constructor. A FatTable table can output as an array of arrays with its .to_aoa output function and will be rendered in an org-mode buffer as an org-table, ready for processing by other code blocks.