Skip to content

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

Package listing

@kody/morning-briefing

src/index.ts

17 lines · 648 B · TypeScript
import { runMorningBriefing } from './report.ts'
import type { BriefingInput } from './types.ts'

export { runMorningBriefing }

/**
 * Build today's morning briefing from composed sources and optionally email or notify.
 *
 * @returns Report plus delivery preview. `dryRun: true` never sends mail.
 * @example
 * import runMorningBriefing from 'kody:@kody/morning-briefing'
 * const result = await runMorningBriefing({ dryRun: true, location: 'Denver, CO' })
 * // => { date: '2026-08-22', sections: [...], delivered: false }
 */
export default async function morningBriefing(input: BriefingInput = {}) {
	return await runMorningBriefing(input)
}