Skip to content

A motion design studio on your own machine: Claude makes the video step by step, you approve every stage. Bring your own Claude Code or API key.

289 B
Raw Blame
// Counted words as the screens print them.

/** plural(1, 'scene') -> "1 scene"; plural(3, 'scene') -> "3 scenes"; plural(2, 'person', 'people') -> "2 people". */
export const plural = (count: number, word: string, many = `${word}s`): string =>
  `${count} ${count === 1 ? word : many}`;