A trees datastructure based on arrays
A sorted list of key-value pairs in a fast, typed in-memory B+ tree with a powerful API.
Simple text tree diagrams from arrays.
Binary Search Trees
Curated collection of data structures for the JavaScript/TypeScript.
General purpose glob-based configuration matching.
Incrementally merge directories.
Different binary search tree implementations, including a self-balancing one (AVL)
Broccoli plugin to merge multiple trees into one
Delightful JavaScript Testing.
Utilities for watching file trees.
Delightful JavaScript Testing.
hast utility to create trees
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Incremental Markdown parser that consumes and emits Lezer trees
No description provided.
Layout algorithms for visualizing hierarchical data.
unist utility to create a new trees with a nice syntax
A package to build, construct, and deconstruct an arbitrary tree of nodes.
Immutable hash maps implemented as hash array papped tries
A sorted list of key-value pairs in a fast, typed in-memory B+ tree with a powerful API.
A simple function to diff any two objects and generate a JSON Patch
Highlighting system for Lezer parse trees
Broccoli plugin that allows simple caching (while still allowing N:N) based on the input tree hash.
Tria is a multi-dimensional array based tree format, with a parent, child, and descendants for each branch of the tree.
Hirb provides a mini view framework for console applications and uses it to improve ripl(irb)'s default inspect output. Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry. Hirb offers reusable views in the form of helper classes. The two main helpers, Hirb::Helpers::Table and Hirb::Helpers::Tree, provide several options for generating ascii tables and trees. Using Hirb::Helpers::AutoTable, hirb has useful default views for at least ten popular database gems i.e. Rails' ActiveRecord::Base. Other than views, hirb offers a smart pager and a console menu. The smart pager only pages when the output exceeds the current screen size. The menu is used in conjunction with tables to offer two dimensional menus.
Trie-like, prefix-tree data structures. First, a prefix-tree based on Arrays, which differs from a traditional trie, which maps strings to values. Second, a more general prefix-tree data structure that works for any type of keys, provided those keys can be transformed to and from an array. Both of these data structures are implemented in terms of hashes.
Hirb provides a mini view framework for console applications and uses it to improve ripl(irb)'s default inspect output. Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry. Hirb offers reusable views in the form of helper classes. The two main helpers, Hirb::Helpers::Table and Hirb::Helpers::Tree, provide several options for generating ascii tables and trees. Using Hirb::Helpers::AutoTable, hirb has useful default views for at least ten popular database gems i.e. Rails' ActiveRecord::Base. Other than views, hirb offers a smart pager and a console menu. The smart pager only pages when the output exceeds the current screen size. The menu is used in conjunction with tables to offer two dimensional menus.
The `blockify` gem solves some of the problems associated with complex hierarchical nested arrays and hashes. It is possible to represent an HTML file as a series of Arrays and Hashes with very deep levels of Hashes within Arrays within Hashes. Traversing such a tree is tricky at best. The methods of the `blockify` gem are included in Array, and Hash using a naming convention that should not compete with anything. We don't need to concern ourselves with the complexity of the structure and can instead focus on the base elements wherever they may be.
Hirb provides a mini view framework for console applications and uses it to improve ripl(irb)'s default inspect output. Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry. Hirb offers reusable views in the form of helper classes. The two main helpers, Hirb::Helpers::Table and Hirb::Helpers::Tree, provide several options for generating ascii tables and trees. Using Hirb::Helpers::AutoTable, hirb has useful default views for at least ten popular database gems i.e. Rails' ActiveRecord::Base. Other than views, hirb offers a smart pager and a console menu. The smart pager only pages when the output exceeds the current screen size. The menu is used in conjunction with tables to offer two dimensional menus.