{"library":"strapi-flatten-graphql","type":"library","category":null,"description":"A utility library (version 0.1.0) that flattens nested Strapi v4 GraphQL responses, removing the 'attributes' wrapper and preserving 'id' at all levels. It includes TypeScript typings and is designed to work alongside graphql-codegen. Currently requires every level to request 'id'. This is an early-stage, single-contributor project with limited updates. Differentiators: focused solely on Strapi v4 GraphQL flattening with type safety, whereas alternatives like lodash/ramda require manual mapping.","language":"javascript","status":"active","version":"0.1.0","tags":["javascript","strapi","graphql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install strapi-flatten-graphql","imports":["import { flattenEntity } from 'strapi-flatten-graphql';","import { flattenEntityResponse } from 'strapi-flatten-graphql';","import { flattenEntityResponseCollection } from 'strapi-flatten-graphql';"]},{"cmd":"yarn add strapi-flatten-graphql","imports":[]},{"cmd":"pnpm add strapi-flatten-graphql","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"strapi-flatten-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}