Socket
Socket
Sign inDemoInstall

rollupv2.0-plugin-javascript-obfuscator

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rollupv2.0-plugin-javascript-obfuscator

Plugin for Rollup to obfuscate JS code


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

rollup-plugin-javascript-obfuscator

Build Status Coverage Status

Rollup plugin for javascript-obfuscator.

Installation

Install the package:

  • npm npm install --save-dev rollup-plugin-javascript-obfuscator
  • yarn yarn add --dev rollup-plugin-javascript-obfuscator

Usage

Pass any options available in the obfuscator.

import obfuscatorPlugin from 'rollup-plugin-javascript-obfuscator'

	export default {
        inout: 'index.js',
        output: {
            file: 'dist/index.js'
        },
        plugins: [
            obfuscatorPlugin({
                ...options
            })
        ]
	}

Source Maps

Inline source map configuration:

{
	sourceMap: true,
	sourceMapMode: 'inline'
}

Separate source map configuration:

{
	sourceMap: true
}

Keywords

FAQs

Last updated on 09 Dec 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc