Skip to content

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

142 B
Raw Blame
// "1 error", "2 errors": a count with its noun in the right number.
export const counted = (n, word) => `${n} ${word}${n === 1 ? '' : 's'}`;