Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ stripBOM
Function
stripBOM
source code/utils/jsonRead.ts:16–18 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
14
const
UTF8_BOM =
'\uFEFF'
15
16
export
function
stripBOM(content: string): string {
17
return
content.startsWith(UTF8_BOM) ? content.slice(1) : content
18
}
Callers
7
startGlobalConfigFreshnessWatcher
Function · 0.90
getConfig
Function · 0.90
parseJSONUncached
Function · 0.90
safeParseJSONC
Function · 0.90
parseJSONLString
Function · 0.90
addItemToJSONCArray
Function · 0.90
loadSettings
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected