treem

JSON →
library 1.1.1 ·javascript
verified Jun 5, 2026

A high performance library for converting flat data (e.g., SQL query result rows) into nested object trees. Version 1.1.1. The tree structure is defined by column naming conventions: separator, collection, and key symbols. It supports multicolumn primary keys, pruning, custom model injection, aliasing, and pluralization detection. Key differentiator: minimal configuration for complex nesting, with sub-millisecond performance for thousands of rows.