Initial Astro site for dd0c.net

This commit is contained in:
Jarvis Prime
2026-03-22 20:00:13 +00:00
commit ba8d866985
9814 changed files with 1376382 additions and 0 deletions

11
node_modules/widest-line/index.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import stringWidth from 'string-width';
export default function widestLine(string) {
let lineWidth = 0;
for (const line of string.split('\n')) {
lineWidth = Math.max(lineWidth, stringWidth(line));
}
return lineWidth;
}