Skip to content

Commit 7b89203

Browse files
authored
Update README.md
1 parent c5cee28 commit 7b89203

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ However, older versions of the obfuscator may output a different AST and that mi
147147

148148
There are some scenarios where the deobfuscator might crash because an AST cannot be generated from the input. This is a limitation from the esprima parser used by the deobfuscator which does not support all new JavaScript features. If this error is encountered, a message suggesting that the code needs to be transpiled before deobfuscation will be displayed. The transpilation to an older JavaScript version for which esprima correctly parses the script can be done using [Babel](https://babeljs.io/) and the parsing of the script can be checked with tools such as [astexplorer](https://astexplorer.net/).
149149

150-
# Easy transpilation with babel:
150+
### Easy transpilation with babel:
151151
1) Create directory with the file you are trying to deobfuscate inside directory
152152
2) Initialize node project with default configuration:
153153
```
@@ -165,7 +165,7 @@ npm install --save-dev @babel/core @babel/cli @babel/preset-env
165165
```
166166
5) Run babel via CLI for transpilation
167167

168-
Example for transpiling 'a.txt' file to 'output.js' file. ('a.txt' is the input file, not parsed by espirma; 'output.js' is the output file, successfully parsed by esprima)
168+
Example for transpiling 'a.txt' file to 'output.js' file. ('a.txt' is the input file, not parsed by espirma; 'output.js' is the output file, successfully parsed by esprima):
169169
```
170170
npx babel a.txt -o output.js
171171
```

0 commit comments

Comments
 (0)