UNPKG

vanzy-protect

Version:

Epic Obfuscator Yeahhh

13 lines (12 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyLines = void 0; const cfg_1 = require("../config/cfg"); const sus = (x) => x ? (typeof x === 'string' ? `/*${x}*/` : '/*sus*/') : ''; function applyLines(text) { var start, end; start = sus((0, cfg_1.cfg)().format.lineStart); end = sus((0, cfg_1.cfg)().format.lineEnd); return text.split('\n').map(i => start + i + end).join('\n'); } exports.applyLines = applyLines;