Repository navigation
Add "Search npm" extension - #95
Conversation
There was a problem hiding this comment.
This is really cool! I can't wait to find my npm packages quicker with Raycast :-) I left a few inline comments to change the naming to follow our UI guidelines, which is most often title case. Also, please make sure to update the icon to be 512x512px.
Can you please apply the suggestions and then we should be good to go.
|
@thomaspaulmann I updated the PR based on your comments. I also added a couple of extra features:
|
| {type === 'github' || (type === 'gitlab' && owner && name) ? ( | ||
| <OpenInBrowserAction | ||
| url={`https://codesandbox.io/s/${ | ||
| type === 'github' ? 'github' : 'gitlab' |
thomaspaulmann
left a comment
There was a problem hiding this comment.
Thanks for applying all the changes and adding even more features. Let's get this into the store. If you have something new, just open another PR.
|
@mrmartineau, cool extension. Any idea why it doesn't find "@raycast/api" search string? |
Thanks..
The search is based on npms.io which also does not return any results for that query, see https://npms.io/search?q=%40raycast%2Fapi Perhaps the special chars need to be escaped.. |
|
After further investigation, the npm website uses this query: I will see if we're allowed to use the npm API, which is based on npms (very odd that they don't return the same values though..) See more info about that here
|
* Add Search npm extension * Various updates & improvements based on PR comments * Update extensions/search-npm/src/index.tsx * Update extensions/search-npm/package.json Co-authored-by: Thomas Paul Mann <[email protected]>


Description
Extension to search for npm package using npms.io
Features
Type of change
Screencast
raycast-npms.mp4
Checklist