Check if an array includes all the elements of another array
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Test if the first array includes all elements in the seconds array
Array manipulation, ordering, searching, summarizing, etc.
Matches strings against configurable strings, globs, regular expressions, and/or functions
General purpose glob-based configuration matching.
Takes a grid of values (GeoJSON format) and a set of threshold ranges. It outputs polygons that group areas within those ranges, effectively creating filled contour isobands.
Run an array of functions in parallel
Polyfill of future proposal for `util.parseArgs()`
Lazy-evaluating list of files, based on globs or regex patterns
Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.
Hash any object based on its value
Simple dependency graph.
Iterate any JS iterator. Works robustly in all environments, all versions.
A pure javascript BMP encoder and decoder
The ESM-only 'color' package made compatible for use with CommonJS runtimes
A sorted list of key-value pairs in a fast, typed in-memory B+ tree with a powerful API.
A list of SPDX license identifiers
The official e18e ESLint plugin for modernizing code and improving performance.
Disallow jQuery functions with native equivalents.
ByteStream is a library making possible to manipulates single bytes and bits on pure JavaScript
Frequent default values
Socket.dev optimized package override for array-includes
Internationalized calendar, date, and time manipulation utilities
A simple utility gem that combines all products of all combinations of an array of arrays, including combinations where some or all of the arrays are not chosen from at all.
All methods that alter the contents of an array that implements this Gem are first checked to ensure that the added items are of the types allowed. All methods behave exactly as their Array counterparts, including additional forms, block processing, etc.
A bit array class for Ruby, implemented as a C extension. Includes methods for setting and clearing individual bits, and all bits at once. Also has the standard array access methods, [] and []=, and it mixes in Enumerable.
All methods that alter the contents of an array that implements this Gem are first checked to ensure that the added items are of the types allowed. All methods behave exactly as their Array counterparts, including additional forms, block processing, etc. Defining a TypedArray Class: ```ruby class ThingsArray < Array extend TypedArray restrict_types Thing1, Thing2 end things = ThingsArray.new ``` Generating a single TypedArray ```ruby things = TypedArray(Thing1,Thing2).new These classes can be extended, and their accepted-types appended to after their initial definition.
One factorization of a graph generates length-1 sets of pairs of elements from the graph. Each set of pairings is unique and includes all elements of the array.
Proxy-objects for making another object threadsafe by proxying calls through mutex and method_missing. Monitored array and hash where all methods are going through monitor. Threadsafe class for including into a class that extends another class in order to make it threadsafe.
RandomAccessible mixin provides all methods of Array (regard as high-functioning edition of Enumerable). As a class includes Enumerable must provide "each" method, a class includes RandomAccessible must have some methods. Please see the document for detail.
Interface for very simple trees. You only have to implement parent (returns the single parent of the current node) and children (returns an Array of all the children of this node) and initialize. Drop this class in via include and presto!
This library tracks historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. Embedded documents are referenced by storing an association path, which is an array of document_name and document_id fields starting from the top most parent document and down to the embedded document that should track history. Mongoid-history implements multi-user undo, which allows users to undo any history change in any order. Undoing a document also creates a new history track. This is great for auditing and preventing vandalism, but it is probably not suitable for use cases such as a wiki.
Required is a utility to require all files in a directory. Why would one want to require a whole bunch of files at once? I have used this gem on 2 projects to: - require dozens of jar files when working on a JRuby project - pull in all files before running code coverage (rcov), to find code that is otherwise dead/untouched Options for required include the ability to recursively descend through subdirectories, include/exclude files based on pattern matching, and to specify the order of requires based on filename. An array of all the files that were loaded is returned. Quick example: require 'required' required "some/path/to/dir" See the README for more examples, and description of options.
A Ruby gem that extends all Enumerable objects (Arrays, Ranges, Sets, etc.) with essential statistical methods. Provides mean, median, variance, and standard deviation calculations, along with robust outlier detection using the IQR method. Perfect for data analysis, performance monitoring, A/B testing, and cleaning datasets with extreme values. Zero dependencies and works seamlessly with any Ruby collection that includes Enumerable.
Plugin for omnifocus gem to provide bugzilla BTS synchronization. The first time this runs it creates a yaml file in your home directory for the bugzilla url, username, and queries. The queries config is optional. If it is not included bugzilla-omnifocus will pull all active bugs assigned to the specified user. To use a custom query or multiple queries you must include a queries parameter in your config. The queries config is an array of strings. Each string is the query string portion of the bugzilla search results url. Its easiest to create your search in bugzilla and then paste the portion of the url after the question mark into the config file. Example: --- bugzilla_url: http://bugs/buglist.cgi username: aja queries: ["bug_status=NEW", "bug_status=CLOSED"]
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.