Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GooseMod/OpenAsar
/ stripJson
Function
stripJson
scripts/strip.js:47–47 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
45
};
46
47
const
stripJson = (path) => writeFileSync(path, JSON.stringify(minJson(JSON.parse(readFileSync(path,
'utf8'
)))));
48
49
const
tree = (dirPath) => readdirSync(dirPath).forEach((x) => {
50
const
path = join(dirPath, x);
Callers
1
tree
Function · 0.85
Calls
1
minJson
Function · 0.85
Tested by
no test coverage detected