Convert object keys to camel case
Convert object keys from camel case
Recursively convert an object's keys into anything you want.
Convert object keys to kebab-case
convert object keys from/to camelCase and snake_case
Convert object keys to camelCase or snakeCase.
Convert object keys recursivly to camelCase using lodash
Convert object keys to snake case
Convert object keys to PascalCase
Convert object keys between camel-case and snake-case
Convert object keys to camel case
Convert object keys recursivly to camelCase
Convert object keys to any other case, such as camelCase, snake_case, etc.
🐊Putout plugin adds ability to convert 'Object.keys()' to 'Object.entries()'
Safely convert object keys to camelCase recursively with circular reference protection, deep traversal, and robust error handling.
Convert object keys from camel case
Convert object keys
Convert object keys to humanized words
Convert strings between snake_case, camelCase, and kebab-case. Convert object keys and array values with ease.
Convert object keys to camel case
Convert object keys to camelCase
Recursively convert object keys to camelCase, snake_case, kebab-case, and more
Convert object keys to camelCase
Convert object keys from camel case
underscorize_keys convert all the keys of object to underscore
Takes a Hash and converts it into a Struct with each key as a property and each value converted into a native object if possible.
Rails Devs For Data Integrity catches unique key and foreign key violations coming from the MySQLdatabase and converts them into an error on the ActiveRecord object similar to validation errors
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.
CollectionUtils provide with basic collection templates like stack(push, pop, peek), queues(enqueue, dequeue), heaps/tree(MinHeap, MaxHeap, BST) and HashDeserializedObject(Converts a hash into object for easy access. All the keys will become attributes of the object). Check out the wiki at https://github.com/deeshugupta/collection_utils/wiki
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.