feat: encode-* decode-* add alias
This commit is contained in:
@@ -44,39 +44,39 @@
|
||||
},
|
||||
"decode-uri-component.ts": {
|
||||
"script_name": "decode-uri-component.ts",
|
||||
"script_length": 770,
|
||||
"script_sha256": "6d2754eb1df3a3a36e602805596e5fec325827a7184144ba3a58e0a231dbb09c",
|
||||
"script_length": 808,
|
||||
"script_sha256": "54e9fd8a9e98c41c0589f65c060b0f69dd2e25e3a19222f0a73dcfc8c96a3ea0",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri-component.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1769010420928,
|
||||
"update_time": 1769010621067
|
||||
"update_time": 1769097609468
|
||||
},
|
||||
"decode-uri.ts": {
|
||||
"script_name": "decode-uri.ts",
|
||||
"script_length": 741,
|
||||
"script_sha256": "6ec7c0e116f49df2e2108c72248fbafce344ec72e40d561bcb35e743ec301a1a",
|
||||
"script_length": 779,
|
||||
"script_sha256": "9182f1aa66455b7060c88c4a169eede6d63ea750fee6d29cefaf1baf00abf121",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1769010420927,
|
||||
"update_time": 1769010621066
|
||||
"update_time": 1769097609467
|
||||
},
|
||||
"encode-uri-component.ts": {
|
||||
"script_name": "encode-uri-component.ts",
|
||||
"script_length": 774,
|
||||
"script_sha256": "38b6c3509c19826a53b6fda2e6fe304274316be67a2f2b4937477143a3096620",
|
||||
"script_length": 812,
|
||||
"script_sha256": "617e2c4133460bf989d18aa5621c3d499fb20796362947746558ac5c568b8acd",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/encode-uri-component.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1769010420927,
|
||||
"update_time": 1769010420927
|
||||
"update_time": 1769097609467
|
||||
},
|
||||
"encode-uri.ts": {
|
||||
"script_name": "encode-uri.ts",
|
||||
"script_length": 741,
|
||||
"script_sha256": "061415787a7c744343cc1665aa682d15b48497888e530ffbbe4dd201affb9d40",
|
||||
"script_length": 779,
|
||||
"script_sha256": "7a29b8acf53974f15ee03ff7c12324292190744983db85d4339d562e69ef931e",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/encode-uri.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1769010420927,
|
||||
"update_time": 1769010621066
|
||||
"update_time": 1769097609467
|
||||
},
|
||||
"helloworld-bun.ts": {
|
||||
"script_name": "helloworld-bun.ts",
|
||||
|
||||
@@ -6,6 +6,9 @@ import {toArrayBuffer} from "https://deno.land/std@0.203.0/streams/mod.ts";
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help"],
|
||||
string: ["value"],
|
||||
alias: {
|
||||
V: "value"
|
||||
}
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
@@ -24,5 +27,5 @@ const encoded = decodeURIComponent(input);
|
||||
|
||||
console.log(encoded);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234931+08:00.MEQCIGtptRwhQ3YN0WarjPH2
|
||||
// d0OIKCq/K1D6vOaRnSUUXP5OAiBnujYtnDlRYpJ4/jQMW8thQHilKyBTSKdr94NtnrsqCA==
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260122T235929+08:00.MEUCIQDtNpI/a8OTsQtqz+C8
|
||||
// XpN1KDs8cDssZCFyRzhqQab3nwIgS7XiDm8mHvwuxSAGOcxGQKd76laaOr1qNdAUP92DRuY=
|
||||
|
||||
@@ -6,6 +6,9 @@ import {toArrayBuffer} from "https://deno.land/std@0.203.0/streams/mod.ts";
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help"],
|
||||
string: ["value"],
|
||||
alias: {
|
||||
V: "value"
|
||||
}
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
@@ -24,5 +27,5 @@ const encoded = decodeURI(input);
|
||||
|
||||
console.log(encoded);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234924+08:00.MEYCIQDy8fXEkaASCyzxUPnv
|
||||
// qCCKWrxFfOIFwxCJXffxpFqUUQIhAJtdK5rcHt6LwxbScRS6GtyYIrlI/cwix786s+IXtwl5
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260122T235937+08:00.MEYCIQCpIqJ+E5Rq42txr21z
|
||||
// 89Hw017aSUwve29PjvR+zFEONAIhAKY8nSJigFTvpp1jr4quCIEdjOyWP/DCkzzi8KrkjvnZ
|
||||
|
||||
@@ -6,6 +6,9 @@ import { toArrayBuffer } from "https://deno.land/std@0.203.0/streams/mod.ts";
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help"],
|
||||
string: ["value"],
|
||||
alias: {
|
||||
V: "value"
|
||||
}
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
@@ -24,5 +27,5 @@ const encoded = encodeURIComponent(input);
|
||||
|
||||
console.log(encoded);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234554+08:00.MEUCIBu77Jl2kBpnQfz5Us0h
|
||||
// hv9ccvxvsKC0FKEQxRze3z0rAiEArwtUf0JRYQZmEDnpCjQ3SZqy+Fudk7JO3UqNhTJ13hg=
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260122T235939+08:00.MEQCIAQ5xspL/Z+a19RydUte
|
||||
// RRZnxP8wJSNLUFycWtQwJBvOAiAzk+43vb8lLiStnvmxQWN68Ddl2Hy5OodwvKxb2YWM4w==
|
||||
|
||||
@@ -6,6 +6,9 @@ import {toArrayBuffer} from "https://deno.land/std@0.203.0/streams/mod.ts";
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help"],
|
||||
string: ["value"],
|
||||
alias: {
|
||||
V: "value"
|
||||
}
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
@@ -24,5 +27,5 @@ const encoded = encodeURI(input);
|
||||
|
||||
console.log(encoded);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234929+08:00.MEQCIG0qEsSWVF4pM4fe0Y3M
|
||||
// STeuDjXvq5oN0hhQNaXI7iVyAiBVIZZBwSZUAshkPWIRvD7ll2+JvNunr7RB8Cl8K8Efsw==
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260122T235941+08:00.MEQCIHZDqYuoOnswypoEtmy7
|
||||
// Op3cR/EpGacHSYeOSvZnH6IiAiBr6iTB1eQwlRuHyteapz8xGEh3n7lHC6x2y16d5qCwcQ==
|
||||
|
||||
Reference in New Issue
Block a user