Implements a new command in the Raycast extension to fetch and display NPM package information, enhancing the utility of the extension for users interested in package details.
Adds a new command to package.json: Introduces "Fetch NPM Package Info" as a new command, allowing users to fetch information about an NPM package directly from the Raycast command palette.
Updates README.md: Documents the newly added "Fetch NPM Package Info" command, providing users with an overview of its functionality and usage.
Modifies src/index.tsx: Replaces the placeholder content with a functional component that utilizes the useFetch API to retrieve package information from the npm registry. This component displays the package name, latest version, description, and author. It also includes error handling to inform users when package info cannot be fetched.
Introduces preferences in package.json: Adds a preference for the NPM Registry URL, allowing users to specify the registry from which package information should be fetched.
Related to #1
Implements a new command in the Raycast extension to fetch and display NPM package information, enhancing the utility of the extension for users interested in package details.
package.json
: Introduces "Fetch NPM Package Info" as a new command, allowing users to fetch information about an NPM package directly from the Raycast command palette.README.md
: Documents the newly added "Fetch NPM Package Info" command, providing users with an overview of its functionality and usage.src/index.tsx
: Replaces the placeholder content with a functional component that utilizes theuseFetch
API to retrieve package information from the npm registry. This component displays the package name, latest version, description, and author. It also includes error handling to inform users when package info cannot be fetched.package.json
: Adds a preference for the NPM Registry URL, allowing users to specify the registry from which package information should be fetched.For more details, open the Copilot Workspace session.