Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
import type { WidthOptions as Options } from 'fast-string-truncated-width';
declare const fastStringWidth: (input: string, options?: Options) => number;
export default fastStringWidth;
export type { Options };
+14
View File
@@ -0,0 +1,14 @@
/* IMPORT */
import fastStringTruncatedWidth from 'fast-string-truncated-width';
/* HELPERS */
const NO_TRUNCATION = {
limit: Infinity,
ellipsis: '',
ellipsisWidth: 0,
};
/* MAIN */
const fastStringWidth = (input, options = {}) => {
return fastStringTruncatedWidth(input, NO_TRUNCATION, options).width;
};
/* EXPORT */
export default fastStringWidth;