httpsms-gateway / web /app /utils /capitalize.ts
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca
Raw History Blame Contribute Delete
178 Bytes
export function capitalize(value: string | null): string {
if (!value) {
return ''
}
return value.charAt(0).toUpperCase() + value.slice(1)
}
export default capitalize