Initial commit

This commit is contained in:
2026-06-02 23:11:13 +02:00
commit 9ee43a6b2d
4274 changed files with 968260 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
'use strict';
export default function parseProtocol(url) {
const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
return (match && match[1]) || '';
}