async-tree

Library for working with asynchronous trees

The async-tree JavaScript library lets you work with any kind hierarchical data as a consistent type of abstract tree. Each node of the tree is either a standard JavaScript Map or an asynchronous variation called AsyncMap.

This lets you create applications in plain JavaScript like those possible in the Origami language.

This library is an implementation of the Map Tree pattern. It provides helper classes like ObjectMap and FileMap that can treat a range of data sources as maps. The library also includes helper functions for common tree operations.

For an example of a site created with the async-tree library, see the sample async-tree blog site.