@appex/aurelia-dompurify

Use DOMPurify as Aurelia's sanitizer implementation.


Keywords
security, sanitizing, aurelia, dompurify
License
MIT
Install
npm install @appex/aurelia-dompurify@0.2.0

Documentation

aurelia-dompurify

This Aurelia plugin replaces the built in HTMLSanitizer implementation with a DOMPurify based implementation.

The default sanitizer should not be used, as it is not meant for production use, as the official documentation states.

Usage

  aurelia.use
    .standardConfiguration()
    .plugin(PLATFORM.moduleName('@appex/aurelia-dompurify'))