Created
February 9, 2023 15:41
-
-
Save danielo515/b2b2576155111a3a8fb73b47da2efac8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name: url encode | |
import "@johnlindquist/kit" | |
const text = await arg("What do you want to encode"); | |
const encoded = encodeURIComponent(text) | |
await copy(encoded); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment