Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-javascript-obfuscator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-javascript-obfuscator

Plugin for Rollup to obfuscate JS code

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 21 Feb 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc