🛵 jsonRead.ts

This commit is contained in:
nirholas
2026-03-31 10:24:19 +00:00
parent 8ee9ee9c0d
commit 9152c93fad

View File

@@ -14,3 +14,4 @@ const UTF8_BOM = '\uFEFF'
export function stripBOM(content: string): string { export function stripBOM(content: string): string {
return content.startsWith(UTF8_BOM) ? content.slice(1) : content return content.startsWith(UTF8_BOM) ? content.slice(1) : content
} }