Converts an array to an object where the keys are the array entries and the values are customizable in a function.
Constants and utilities about visitor keys to traverse AST.
Convert object keys from camel case
No description provided.
Convert object keys to camel case
Convert an object's keys to snake case
utilities for primitive JavaScript types
An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim
Polyfill of future proposal for `util.parseArgs()`
Parse and stringify JSON with comments. It will retain comments even after saved!
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).
> Convenient JavaScript function that serializes Objects to FormData instances.
Sort an object's keys, including an optional key list
Right pad a string with zeros or a specified string. Fastest implementation.
Run an array of functions in parallel
Returns true if a value is a plain object, array or function.
Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript.
Lowercase the keys of an object
Flowtype linting rules for ESLint.
A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.
Persistent ordered mapping from strings
General purpose glob-based configuration matching.
Generate all possible permutations of an object's key-value pairs
Stringify an object sorting scalars before objects, and defaulting to 2-space indent
Strict wrapper for Hashes and Arrays that doesn't return nil
Generate JSON strings from Ruby objects with flexible formatting options. Key features: keep arrays and objects on a single line when they fit; format floats to specific precision; sort and align object keys; adjust whitespace padding of arrays and objects, inside and around commas and colons. JavaScript version included.
This is a simple javascript file that includes an object with countries as keys and arrays of states as values
An object that proxies method calls to a Hash object as hash key lookups. Handles nested hashes and arrays.
Recursively freeze entire object graphs (hashes, arrays, strings, structs, Data) to create truly immutable data structures. Includes deep_dup, deep_frozen?, deep_equal?, deep_diff, deep_freeze_all, deep_clone, and freeze_hash_keys. Handles circular references and selective key exclusion.
The best solution for store global settings in Rails applications. This gem will managing a table of а global key, value pairs easy. Think of it like a global Hash stored in your database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object.
Format or pretty-print Ruby data, including arrays, hashes, and structs. The keys ond values f the arrays and hashes are aligned for easy readability. Object attributes are similarly aligned.
Simple and Compressed Object Notation (SCON) serializes arrays and objects into a binary format, all the while using as little space as possible by reusing duplicate keys with a binary reference and clever type definitions.
Settings is a plugin that makes managing a table of global key, value pairs easy.
Provides util methods to modify Hash objects. Currently contains a single method that converts all string keys in a Hash to symbols. Will recursively convert string keys through hashes and hashes within arrays.
This library performs diffs of CSV data, or any table-like source. Unlike a standard diff that compares line by line, and is sensitive to the ordering of records, CSV-Diff identifies common lines by key field(s), and then compares the contents of the fields in each line. Data may be supplied in the form of CSV files, or as an array of arrays. The diff process provides a fine level of control over what to diff, and can optionally ignore certain types of changes (e.g. changes in position). CSV-Diff is particularly well suited to data in parent-child format. Parent- child data does not lend itself well to standard text diffs, as small changes in the organisation of the tree at an upper level can lead to big movements in the position of descendant records. By instead matching records by key, CSV-Diff avoids this issue, while still being able to detect changes in sibling order. This gem implements the core diff algorithm, and handles the loading and diffing of CSV files (or Arrays of Arrays). It also supports converting data in XML format into tabular form, so that it can then be processed like any other CSV or table-like source. It returns a CSVDiff object containing the details of differences in object form. This is useful for projects that need diff capability, but want to handle the reporting or actioning of differences themselves. For a pre-built diff reporting capability, see the csv-diff-report gem, which provides a command-line tool for generating diff reports in HTML, Excel, or text formats.
Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object. Ported to Rails 3!