sanitize-url
sanitize-url copied to clipboard
feat: compile ts to js for use in browsers
Example usage: btsu.sanitizeUrl('javascript:alert(1)');
👋 @bradleyhodges thanks for the PR! We'll take a look and provide any feedback.
For internal tracking, issue 2521
Thank you for your submission.
We currently publish this library to NPM; at this time, we are not planning to provide additional browser support. You could use browserify to convert that NPM package to a file that can be included in HTML files.