npm

Join us for the "JavaScript Supply Chain Security" tech talk, presented by VP of Security, Adam Baldwin. 6/20 at 10am PT.Sign up here »

babel-plugin-transform-phonetize

1.0.0 • Public • Published

babel-plugin-transform-phonetize

babel plugin to rename identifiers in a file to randomly generated pronounceable names

Useful for deobfuscation.

npm travis standard

Install

npm install babel-plugin-transform-phonetize

Usage

{
  "plugins": [
    ["transform-phonetize", {
      "maxLength": 4,
      "except": ["idx"]
    }]
  ]
}

Options

  • maxLength - Maximum length of the original identifier name. Only names shorter than this length will be renamed. This way variables that already have meaningful names will not be touched. Defaults to 3.
  • except - Array of identifier names not to rename.

License

Apache-2.0

install

npm i babel-plugin-transform-phonetize

Downloadsweekly downloads

2

version

1.0.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability