Created
May 18, 2021 21:54
-
-
Save iansu/7f0227f191865e18b5a2b7ff616d6fd9 to your computer and use it in GitHub Desktop.
A ScriptKit script to search npm
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
// Menu: npm | |
// Description: Search npm | |
// Author: Ian Sutherland | |
// Twitter: @iansu | |
await arg("Search query:", async () => { | |
let query = await arg("Search query:") | |
exec(`open https://www.npmjs.com/search?q=${query}`) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment