MCPcopy Create free account
hub / github.com/GooseMod/OpenAsar / stripJs

Function stripJs

scripts/strip.js:38–38  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

36 .replaceAll(' id', '~id');
37
38const stripJs = (path) => writeFileSync(path, stripCode(readFileSync(path, 'utf8')));
39const stripHtml = (path) => writeFileSync(path, stripCode(fixHtml(readFileSync(path, 'utf8'))));
40
41const minJson = (data) => {

Callers 1

treeFunction · 0.85

Calls 1

stripCodeFunction · 0.85

Tested by

no test coverage detected