
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@bytehide/gulp-shield
Advanced tools
A gulp plugin for obfuscating JavaScript code using ByteHide Shield.
npm install @bytehide/gulp-shield --save-dev
const gulp = require('gulp');
const {bytehideShieldPlugin} = require('@bytehide/gulp-shield');
gulp.task('obfuscate', () => {
return gulp.src('./src/**/*.js')
.pipe(bytehideShield({
projectToken: 'your_project_token_here',
replace: false,
obfuscatedExtension: '.obf',
exclude: [],
config: {
controlFlowFlattening: true,
debugProtection: true,
devtoolsBlocking: true
}
}))
.pipe(gulp.dest('./dist'));
});
projectToken
: Your ByteHide Shield project token (required)replace
: Whether to replace original files (default: false)obfuscatedExtension
: Extension for obfuscated files (default: '.obf')exclude
: Array of files to exclude from obfuscationconfig
: Configuration options for obfuscation
controlFlowFlattening
: Enable/disable control flow flatteningdebugProtection
: Enable/disable debug protectiondevtoolsBlocking
: Enable/disable devtools blockingMIT
Happy coding but keep it safe with @bytehide/gulp-shield
! 🛡️
FAQs
Gulp plugin for ByteHide Shield obfuscation.
We found that @bytehide/gulp-shield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.