rollup-plugin-flatten-dir
JSON →Rollup and Vite plugin that flattens a directory's file contents into a `Record<string, string>` object. Version 1.0.1 is the current stable release, with no active development observable. It resolves a directory, reads file contents, filters by include/exclude glob patterns, and generates an ESM module with a default export mapping relative file paths to their raw string contents. Optionally generates TypeScript declaration files. Differentiates from similar plugins by focusing on raw string contents rather than module transforms.
Traffic · last 30 days ↓60% vs prev 7d
total hits 15
actors 5 distinct systems
last hit 5d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · BD · 🇬🇧 United Kingdom