Skip to content
← Public packages

@kody/stash

Keep searchable notes, reminders, and facts in this package's storage — no OAuth, API keys, or bot tokens.

src/by-tag.ts

14 lines · 447 B · TypeScript
Raw
import { 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)
}