Skip to content

Commit

Permalink
merge pull request #25 from lorenzoferre/fix-dependencies
Browse files Browse the repository at this point in the history
fix dependencies
  • Loading branch information
lorenzoferre authored Jan 9, 2024
2 parents 353ab9e + 690dcdc commit c9976ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
# Usage
First of all you need to install the package:
```
npm i @lorenzoferre/deobfuscator
npm i javascript-deob
```
Then you import the deobfuscation function into your module which takes the obfuscated code as input:
```javascript
import deobfuscate from "@lorenzoferre/deobfuscator";
import deobfuscate from "javascript-deob";
const code = `` // Insert the code here
const deobfuscatedCode = deobfuscate(code)
console.log(deobfuscatedCode)
```
Or if you want to use a file:
```javascript
import deobfuscate from "@lorenzoferre/deobfuscator";
import deobfuscate from "javascript-deob";
import fs from "fs";

const path = ""; // Insert the file path
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lorenzoferre/deobfuscator",
"version": "1.0.0-beta",
"name": "javascript-deob",
"version": "1.0.1-beta",
"description": "Automation of the javascript deobfuscation process using abstract syntaxt trees",
"main": "src/deobfuscator.js",
"scripts": {
Expand All @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/lorenzoferre/deobfuscator#readme",
"type": "module",
"devDependencies": {
"dependencies": {
"@babel/core": "^7.23.0",
"@babel/parser": "^7.23.0",
"@babel/types": "^7.22.5"
Expand Down

0 comments on commit c9976ea

Please sign in to comment.