Skip to content

artfulhacker/rollup-plugin-jsdefender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-jsdefender

Rollup plugin that lets you compile your code with PreEmptive JSDefender.

Install

npm install rollup-plugin-jsdefender

Usage

import jsDefender from 'rollup-plugin-jsdefender'

plugins: 
[
  jsDefender
  ({
    booleanLiterals:
    {
      randomize: true
    },
    integerLiterals:
    {
      radix: "none",
      randomize: true
    },
    debuggerRemoval: true,
    stringLiterals: true,
    propertyIndirection: true,
    localDeclarations:
    {
      nameMangling: "base52"
    },
    controlFlow:
    {
      randomize: true
    },
    functionReorder:
    {
      randomize:true
    },
    quietMode: true,
    license: "PJSD_LICENSE"
  })
]

See the jsdefender user guide for information about options.

Licensing

To use this, you must have a valid license key.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published