isomorphic-dompurify
Version:
Makes it possible to use DOMPurify on server and client in the same way.
1 lines • 111 B
JavaScript
module.exports = window.DOMPurify || (window.DOMPurify = require('dompurify').default || require('dompurify'));
Makes it possible to use DOMPurify on server and client in the same way.