Add node pack actions: install, uninstall, enable, disable, change version (#3016)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Christian Byrne
2025-03-13 10:53:56 -07:00
committed by GitHub
parent fe5e4e0d8a
commit 8b69b280fa
23 changed files with 671 additions and 339 deletions

View File

@@ -336,14 +336,6 @@ export const generateUUID = (): string => {
})
}
/**
* Formats a number to a locale-specific string
* @param num The number to format
* @returns The formatted number or 'N/A' if the number is undefined
*/
export const formatNumber = (num?: number): string =>
num?.toLocaleString() ?? 'N/A'
/**
* Checks if a URL is a Civitai model URL
* @example