Socket
Socket
Sign inDemoInstall

rollup-plugin-javascript-obfuscator

Package Overview
Dependencies
92
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rollup-plugin-javascript-obfuscator

Plugin for Rollup to obfuscate JS code


Version published
Weekly downloads
430
decreased by-53.51%
Maintainers
1
Install size
27.6 MB
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 { rollup } from 'rollup'
import obfuscatorPlugin from 'rollup-plugin-javascript-obfuscator'

	rollup({
		entry: 'main.js',
		plugins: [
			//Pass options here (optional)
			obfuscatorPlugin({
			  compact: true
			})
		]
	})

Source Maps

Inline source map configuration:

{
	sourceMap: true,
	sourceMapMode: 'inline'
}

Separate source map configuration:

{
	sourceMap: true
}

Keywords

FAQs

Last updated on 21 Feb 2019

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