Spaces:
Paused
Paused
Download node_modules/@reduxjs/toolkit/src/query/utils/capitalize.ts from Leon4gr45/nova-header-nav: direct link, hf CLI and curl.
- Browser
- Download file 95 Bytes
-
https://huggingface.co/spaces/Leon4gr45/nova-header-nav/resolve/main/node_modules/%40reduxjs/toolkit/src/query/utils/capitalize.ts
- Command line
-
hf download hf://spaces/Leon4gr45/nova-header-nav/node_modules/@reduxjs/toolkit/src/query/utils/capitalize.ts
-
curl -L -o capitalize.ts https://huggingface.co/spaces/Leon4gr45/nova-header-nav/resolve/main/node_modules/%40reduxjs/toolkit/src/query/utils/capitalize.ts
95 Bytes
| export function capitalize(str: string) { | |
| return str.replace(str[0], str[0].toUpperCase()) | |
| } | |