Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
rollup-plugin-obfuscator
Advanced tools
The most powerful rollup plugin for javascript-obfuscator
The most powerful rollup plugin for javascript-obfuscator.
yarn add --dev rollup-plugin-obfuscator javascript-obfuscator
or
npm install --save-dev rollup-plugin-obfuscator javascript-obfuscator
import obfuscator from 'rollup-plugin-obfuscator';
export default {
input: 'src/main.js',
plugins: [
obfuscator({
options: {
// Your javascript-obfuscator options here
// See what's allowed: https://github.com/javascript-obfuscator/javascript-obfuscator
},
}),
]
}
global
Type: boolean
Default: false
Set to true
if you want to obfuscate the whole bundle, false
to obfuscate each file separately.
options
Type: Object
Default: {}
Options that will be passed to javascript-obfuscator. See allowed options here.
include
Type: String | RegExp | Array[...String|RegExp]
Default: ['**/*.js', '**/*.ts']
Which files to obfuscate. This parameter is ignored when global
is true
.
exclude
Type: String | RegExp | Array[...String|RegExp]
Default: ['node_modules/**']
Which files not to obfuscate. This parameter is ignored when global
is true
.
obfuscator
Type: JavascriptObfuscator
Default: require('javascript-obfuscator')
This plugin uses the version of javascript-obfuscator
you installed alongside with it, but you are free to override it (for example, if you want to use a fork).
FAQs
The most powerful rollup plugin for javascript-obfuscator
The npm package rollup-plugin-obfuscator receives a total of 650 weekly downloads. As such, rollup-plugin-obfuscator popularity was classified as not popular.
We found that rollup-plugin-obfuscator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.