apache2 like index in Astro. Useful for listing files in a directory.
Does not generate the tree full by default, see the demo for more info.
Links:
- https://its-just-nans.github.io/astro-index/ - all demos
- https://its-just-nans.github.io/astro-index/simple/ - simple demo
- https://its-just-nans.github.io/astro-index/recursive/ - recursive demo
---
import AstroIndex from "astro-index";
import { join } from "path";
const pathExpose = join(process.cwd(), "public");
---
<AstroIndex path={pathExpose} />Licensed under the MIT License - LICENSE