Format error messages with template literals
masterUnlike the standard invariant package which uses sprintf style formatting, tiny-invariant avoids internal formatting logic to keep the bundle size small. Instead, you should use JavaScript template literals to format your messages.
invariant(condition, `Hello, ${name} - how are you today?`);