npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

foundry-cast-cli

v0.2.2

Published

Use the Cast CLI directly inside Raycast

Downloads

25

Readme

Foundry Cast Raycast Extension

Use the Foundry Cast CLI directly inside Raycast!

Getting started

To use this extension, you need to have Raycast and Foundry installed on your machine.

Additionally, you will need an Alchemy API key to use the commands that require RPC connections. This is used in order to provide every Cast functionality on Mainnet, Optimism, Arbitrum and Polygon. You can create an account and get a free API key here.

Local development / Usage

  1. Clone this repo
  2. Open Raycast and type the "Manage Extensions" command.
  3. From there, select "Import Extension" and select the folder you just cloned.
  4. Open a terminal in the cloned folder, and run npm install && npm run dev to start the extension in development mode.
  5. You should now be able to use the extension locally!

Features

  • All utility commands
  • All wallet commands
  • All ENS commands
  • All account commands
  • All ABI commands
  • All Block commands

TODO

  • All Transaction commands
  • All Conversion commands

Contributing

Contributions are more than welcome! Feel free to open an issue or a PR if you want to add a feature or fix a bug.

The setup is pretty simple. I made a hook called useCast that handles everything, and you can take a look at any file inside the src directory to see how it works. Here's a quick example:

// src/commands/utility/keccak.tsx

// Export the info that will be displayed in the list of available commands
export const CastKeccak: Script = {
  name: "Keccak",
  description: "Hash arbitrary data using keccak-256",
  component: Command,
};

// Define the arguments that the command can take
const Arguments = {
  value: { required: true, name: "Value" },
} as const;

// Define the success message that will be displayed when the command is successful
const successMessage = "Copied keccak hash to clipboard";

export default function Command() {
  // invoke the hook with the command name, the arguments, and an optional success message
  const { isLoading, result, execute } = useCast("keccak", Arguments, { successMessage });

  return (
    <Form
      isLoading={isLoading}
      actions={
        <ActionPanel>
          {/* call `execute` on form submission */}
          <Action.SubmitForm onSubmit={(v) => execute({ value: `"${v.value}"` })} />
          <Action.OpenInBrowser title="View Docs" url="https://book.getfoundry.sh/reference/cast/cast-keccak" />
          <Action.CopyToClipboard title="Copy hash to clipboard" content={result} />
        </ActionPanel>
      }
    >
      <Form.TextField id="value" title="Data to hash" placeholder="hello world" info="The data you want to hash" />
    </Form>
  );
}

License

All files within this repository are licensed under the MIT License unless explicitly stated otherwise. 100% Open Source software.