Build a tag-frequency dashboard for the vault.
Aggregates every tag from both frontmatter (tags: [foo, bar]) and inline (#foo in body) across all notes. Sorted by count descending, tied by alphabetical. Cheap — single pass with the parser cache.
tags: [foo, bar]
#foo
The vault.
All optional. folder restricts the scan. min_count filters tags below a threshold (default 1, i.e. include everything). limit defaults to 200.
folder
min_count
limit
Sorted TagSummary array.
If folder resolves outside the vault.
const top = await listTags(vault, { min_count: 5, limit: 30 });for (const t of top) console.log(`#${t.tag}: ${t.count}`); Copy
const top = await listTags(vault, { min_count: 5, limit: 30 });for (const t of top) console.log(`#${t.tag}: ${t.count}`);
Build a tag-frequency dashboard for the vault.
Aggregates every tag from both frontmatter (
tags: [foo, bar]) and inline (#fooin body) across all notes. Sorted by count descending, tied by alphabetical. Cheap — single pass with the parser cache.