node-mysql-nesting

JSON →
library 0.0.3 ·javascript abandoned
verified Jun 5, 2026

A utility that converts flat MySQL join query results into nested JavaScript objects. Version 0.0.3 (latest as of 2015) is stable with no recent updates. It works with the mysql npm package by requiring nestTables: true and providing a nesting options array to define table relationships. Differentiators: lightweight, explicit foreign key mapping, and simple API. No TypeScript types, ESM support, or active maintenance.