Created
July 1, 2021 14:05
-
-
Save dealingwith/02ad42f0b334ed36faf7d034f8d97c76 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 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