@kody/stash
src/get.ts
13 lines · 304 B · TypeScriptimport { 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)
}