51 packages found
Deep iteration of any object or iterable collection.
Apply the BFS algorith to get the connection path between two nodes
Implementation of the most common data structures in Javascript
- Data Structures
- DSA
- Javascript
- Array
- Stack
- Queue
- Linked List
- Binary Tree
- Quick Sort
- Breadth First Search
- BFS
- Depth First Search
- DFS
- Traverse In Order
- View more
Data oriented tree structure that unleashes the power of callbacks to create, search and traverse the tree.
- node
- graph
- tree
- binary
- data-tree
- data
- binary-tree
- search-tree
- BFS
- DFS
- import tree
- export tree
- search
- BST
- View more
Standard collections in TypeScript / JavaScript
Small module for graph traversals, supporting DFS and BFS with niceties added for pre- and post-order, including their reverses.
Breadth-first search (BFS) using promise (Bluebird)
General purpose BFS implementation.
Enhanced and multifunctional tree walker
Create Map trees usefull for property inheritance
Deep iteration of any object or iterable collection. (This version revised by @msablanet)
Access subtree elements using keypath, with wildcard ('*') support.
Simplify JS objects, replacing circular references by the path leading to the parent reference. Useful before a JSON.stringify() or a recursive navigation over the object.
Data structure and graph processing library written in modern JavaScript
- data structures
- javascript
- graph
- undirected graph
- directed graph
- weighted graph
- breadth first search
- BFS
- depth first search
- DFS
- dijkstra
- shortest path
- prim
- minimum spanning tree
- View more
A Node.js module to manipulate Graph
A jQuery extension supporting asynchronous breadth-first-search action. Outputs are used as inputs for further BFS action until a specified condition is met (usually max depth or number of results).
Breadth-first search traversal of an acorn-generated AST.
Library to simplify JSON, replacing circular and repeated structures by the path leading to the first time this structure happens (in breadth-first search).
Javascript Implementation of Binary Search Tree
- Javascript
- DataStructure
- js-trees
- tree
- js-tree
- bst
- binary search
- binary-search-tree
- BST
- dfs
- bfs
- dfs pre order
- dfs post order
- dfs in order