Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/stash

src/by-tag.ts

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