Spaces:
Paused
Paused
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 Download web/app/utils/capitalize.ts from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/web/app/utils/capitalize.ts
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/web/app/utils/capitalize.ts
-
curl -L -o capitalize.ts https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/web/app/utils/capitalize.ts
178 Bytes
| export function capitalize(value: string | null): string { | |
| if (!value) { | |
| return '' | |
| } | |
| return value.charAt(0).toUpperCase() + value.slice(1) | |
| } | |
| export default capitalize | |