Buckets:
mvp-ai/skill-base / github.com /0xdarkmatter /claude-mods /tests /sample-project /src /utils /helpers.ts
| // Utility functions for the application | |
| export function formatDate(date: Date): string { | |
| return date.toISOString().split('T')[0]; | |
| } | |
| export function debounce(fn: Function, delay: number) { | |
| let timeout: NodeJS.Timeout; | |
| return function(...args: any[]) { | |
| clearTimeout(timeout); | |
| timeout = setTimeout(() => fn(...args), delay); | |
| }; | |
| } | |
| // TODO: Add throttle function | |
| export function capitalize(str: string): string { | |
| return str.charAt(0).toUpperCase() + str.slice(1); | |
| } | |
Xet Storage Details
- Size:
- 483 Bytes
- Xet hash:
- 31e68f7215f81cff53b526181db828cf54c119ddc6ea405aa35c9e423238f116
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.