Socket
Socket
Sign inDemoInstall

obfor

Package Overview
Dependencies
92
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    obfor

An npm package that combines js, html, css obfuscators


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

CLI obfuscator for js, html, css

What this package can do:

  1. This package can obfuscate the files you specify to it, as well as move to a new directory if necessary.
  2. It can obfuscate the folder you specify and create a new one where the result will be placed.

Usage:

After installing a package, open a terminal in the same folder where the files you want to obfuscate are located and run the command.

1. If you want to obfuscate a specific file, write the name of this file, as well as the destination directory where you want to put obfuscated files. Also you can specify multiple files for this. Here is an example of command:
npx obfor index.html script.js styles.css *dir=./output
./output - it is the name of the folder where the obfuscated files will be placed. You can use any name and any path. If a folder with the specified name does not exist, it will be created automatically. If you want to overwrite the original files, just use *dir=.
Be aware that you may lose your code if you encrypt the original files.

2. If you want to obfuscate folder, also open a terminal in the same folder where the files you want to obfuscate are located and run the command:
npx obfor --all *dir=./output

Files with extensions js, html, css will be obfuscated, but other files and folders will be copied to the folder you specified.

Keywords

FAQs

Last updated on 04 Apr 2023

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