Back to marketplace
Utilities

main

A public TypeScript function.

by Matt F's workspace
1 packages1 stars0 forks0 comments

Source Preview

typescript
import fn from "@hostfunc/sdk";

export async function main(input: { name?: string }) {
  const name = input.name ?? "world";
  return { message: `hello, ${name}` };
}

About

No README has been published for this function yet.

Discussion

0

Join the discussion

Sign in to comment, reply, and star functions you love.

Start the conversation.

Share a use case, ask a question, or suggest an improvement. Be the first to comment on this function.