This repo contains samples that demonstrate configuring PreEmptive Protection JSDefender for various types of JavaScript applications. The samples in this repo are each organized into hierarchical directories. For sample-specific instructions, refer to the README in each sample's directory.
- features: a collection of sample projects that demonstrate JSDefender protection features
- self-defending: Self-defending protection (with code tampering detection)
- Webpack: demonstrates how you can use the JSDefender Webpack plugin to protect code that builds with Webpack4.
- Rollup: demonstrates how you can use the JSDefender Rollup plugin to protect code that builds with Rollup v2.
- React: demonstrates how you can use the JSDefender Webpack plugin to protect React projects.
- Vue: demonstrates how you can use the JSDefender Webpack plugin to protect Vue projects.
- Electron: demonstrates how you can use the JSDefender Webpack plugin to protect Electron projects.
- Angular: demonstrates how you can use the JSDefender Webpack plugin to protect Angular projects.
- Ionic: demonstrates how you can use the JSDefender Webpack plugin to protect different Ionic projects.
- CLI: demonstrates how you can use the JSDefender CLI to protect JavaScript projects with multiple input files, e.g. a Vanilla JavaScript Web app without any bundler.
- ReactNative: demonstrates how you can use the JSDefender Metro plugin to protect React Native projects.
The samples in this repository assume that you have already installed JSDefender and set it up according to its User Guide.