sanitize-url icon indicating copy to clipboard operation
sanitize-url copied to clipboard

feat: compile ts to js for use in browsers

Open bradleyhodges opened this issue 2 years ago • 1 comments

Example usage: btsu.sanitizeUrl('javascript:alert(1)');

bradleyhodges avatar Jan 12 '23 07:01 bradleyhodges

👋 @bradleyhodges thanks for the PR! We'll take a look and provide any feedback.

For internal tracking, issue 2521

hollabaq86 avatar Mar 20 '23 18:03 hollabaq86

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.

ibooker avatar Jun 13 '24 23:06 ibooker