@kody/stash
src/by-tag.ts
14 lines · 447 B · TypeScriptimport { listNotesByTag } from './lib/notes.ts'
export { listNotesByTag }
/**
* List stash notes matching a tag (hashtag or inferred tag).
*
* @example
* import listNotesByTag from 'kody:@kody/stash/by-tag'
* const result = await listNotesByTag({ tag: 'reminder', limit: 10 })
* // => { tag: 'reminder', count: 3, notes: [...] }
*/
export default async function listStashNotesByTag(input?: unknown) {
return await listNotesByTag(input)
}