{"library":"fs-tree-structure","type":"library","category":null,"description":"fs-tree-structure is a lightweight JavaScript/TypeScript utility designed to transform a flat list of file paths into a nested JavaScript object representing a directory tree structure. As of its current stable version, 0.0.5, it provides a single, focused function `makeTreeStructure` to perform this transformation. Due to its specific utility and low version number, its release cadence is likely stable but infrequent, implying minimal updates once its core functionality is mature. Key differentiators include its simplicity and direct focus on in-memory tree generation from string-based path arrays, rather than actual file system interaction. It includes TypeScript type definitions, ensuring type safety for TypeScript projects. The output is a plain JavaScript object, making it easily consumable by other parts of an application for purposes like documentation generation, build process analysis, or mock file system creation, providing a programmatic representation of a hierarchical file structure from flat input.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript","tree","nodejs","filesystem","module","dependencies","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fs-tree-structure","imports":["import { makeTreeStructure } from 'fs-tree-structure';","import type { TreeStructure } from 'fs-tree-structure';","import makeTreeStructure from 'fs-tree-structure/dist/cjs/index.js';"]},{"cmd":"yarn add fs-tree-structure","imports":[]},{"cmd":"pnpm add fs-tree-structure","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fs-tree-structure","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fs-tree-structure/compatibility"}}