Skip to content

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

Package listing

@kody/stash

src/get.ts

13 lines · 304 B · TypeScript
import { getNote } from './lib/notes.ts'
export { getNote }

/**
 * Load one stash note by id.
 *
 * @example
 * import getNote from 'kody:@kody/stash/get'
 * const note = await getNote({ id: 'note-uuid' })
 */
export default async function getStashNote(input?: unknown) {
	return await getNote(input)
}