Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nils-kt/asar-package-obfuscator
Obfuscate all .js files - the javascript-obfuscator is used for this purpose
https://github.com/nils-kt/asar-package-obfuscator
asar asar-archive automated javascript-obfuscator nodejs obfuscator
Last synced: 27 days ago
JSON representation
Obfuscate all .js files - the javascript-obfuscator is used for this purpose
- Host: GitHub
- URL: https://github.com/nils-kt/asar-package-obfuscator
- Owner: nils-kt
- License: isc
- Created: 2018-08-20T18:55:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T21:57:37.000Z (almost 2 years ago)
- Last Synced: 2023-10-20T22:04:38.673Z (about 1 year ago)
- Topics: asar, asar-archive, automated, javascript-obfuscator, nodejs, obfuscator
- Language: JavaScript
- Homepage:
- Size: 107 KB
- Stars: 28
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# JavaScript Obfuscator for ASAR Archives
A script that protects JavaScript files within an ASAR archive using JavaScript Obfuscator.
## Prerequisites
- Node.js
- npm modules: fs, path, recursive-readdir, rimraf, asar, javascript-obfuscator, ololog, yargs## Usage
1. Clone or download the repository.
2. Install required npm modules with `npm install`.
3. Run the script with `node index.js [input-asar-file] [output-asar-file]`.
- `input-asar-file`: ASAR archive to be protected.
- `output-asar-file`: name of the protected ASAR archive (optional, default: input-asar-file with '.new' suffix).
4. Protected ASAR archive will be created.## Details
- All JavaScript files within the ASAR archive will be protected.
- The output file will be in the same directory as the input file.
- A temporary directory will be created and deleted after completion.
- Error messages will be displayed in the terminal/command line.This script is meant to be used as a development tool.