yup
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
| import "@johnlindquist/kit" | |
| // Menu: Synonym | |
| // Description: List synonyms | |
| // Author: John Lindquist | |
| // Twitter: @johnlindquist | |
| let synonym = await arg("Type a word", async input => { | |
| if (!input || input?.length < 3) return [] | |
| let url = `https://api.datamuse.com/words?ml=${input}&md=d` |