moon-cycle/.github/wiki/api/functions/imageFolder.md
Aric Camarata 208f7ffba1 docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config
targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to
package.json. Generate initial API reference pages.

Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
2026-05-30 16:42:00 -04:00

41 lines
809 B
Markdown

[**moon-cycle v2.0.0**](../README.md)
***
[moon-cycle](../README.md) / imageFolder
# Function: imageFolder()
> **imageFolder**(`set`, `size`, `quality`): `string`
Defined in: [helpers.ts:13](https://github.com/acamarata/moon-cycle/blob/800a74670ed6ac7b6d239efd6ec627dbb009fcea/src/helpers.ts#L13)
Returns the folder name for a given image set, size, and quality.
Folder names follow the pattern `{set}-{size}-{quality}`, matching the
directory layout in the moon-cycle repository.
## Parameters
### set
[`ImageSet`](../type-aliases/ImageSet.md)
### size
[`ImageSize`](../type-aliases/ImageSize.md)
### quality
[`ImageQuality`](../type-aliases/ImageQuality.md)
## Returns
`string`
## Example
```ts
imageFolder('mm', 256, 75) // => 'mm-256-75'
imageFolder('my', 512, 85) // => 'my-512-85'
```