babel plugin to rename identifiers in a file to randomly generated pronounceable names
OTHER License
babel plugin to rename identifiers in a file to randomly generated pronounceable names
Useful for deobfuscation.
npm install babel-plugin-transform-phonetize
{
"plugins": [
["transform-phonetize", {
"maxLength": 4,
"except": ["idx"]
}]
]
}
maxLength
- Maximum length of the original identifier name. Only names shorter than this length will be renamed.3
.except
- Array of identifier names not to rename.