Created
July 1, 2021 14:01
-
-
Save dealingwith/f90f665f821869140b8befc471d444c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let { titleCase } = await npm("title-case"); | |
let { getSelectedText } = await kit("text"); | |
let selectedText = await getSelectedText(); | |
let value = titleCase(selectedText); | |
await setSelectedText(value); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment