Flat output with mapping
1import { convertObject } from "hbh-nodes";3const data = {4 user: { name: "Alice", age: 25 },5 settings: { theme: "dark" }6};8const result = convertObject(data, {9 outputFormat: 'flat',10 mapFn: (v, k) => String(v).toUpperCase()11});13console.log(result);14// ["ALICE", "25", "DARK"]