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

jeffuscator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeffuscator

Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'.

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

Jeffuscator

Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'. Inspired by this tweet from Evil Elon Musk.

Installation

Install Jeffuscator with NPM:

npm install jeffuscator

If you're only interested in the CLI functionality, you may wish to install globally.

Usage

You can import Jeffuscator into your project with:

var Jeffuscator = require('jeffuscator');

To Jeffuscate code, instantiate a new instance of the class with an input, then call the processFiles method. processFiles optionally accepts an output path.

new Jeffuscator('path/to/my/files')
    .processFiles('path/to/output/folder')

The input argument can be either a folder or a file. If passed a folder, it will process every .js file in that folder.

The output path should always be a folder. Processed files will be saved to the output folder, retaining the same structure as the input folder.

CLI Usage

Once installed, you should be able to use Jeffuscator from the command line using the jeffuscate command:

jeffuscate -i path/to/my/input -o path/to/my/output

Under the Hood

Jeffuscator makes use of a custom fork of UglifyJs v1 that switches out the normal string of characters used for obfuscation, with an array of different variations of the name Jeff.

Keywords

FAQs

Package last updated on 16 Nov 2018

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