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

@legendsdotfun/build

v0.1.5

Published

LegendsBuild — 5-step startup pitch wizard component

Readme

@legendsdotfun/build

A 5-step startup pitch wizard React component. Guides founders through structured exercises — from problem research to pitch delivery — with an optional resources panel for each step.

Install

npm install @legendsdotfun/build

Usage

import { LegendsBuild } from "@legendsdotfun/build";
import "@legendsdotfun/build/styles";

function App() {
  return (
    <LegendsBuild
      onChange={(data) => console.log("Form changed", data)}
      onSubmit={(data) => console.log("Submitted", data)}
      onStepChange={(step) => console.log("Step", step)}
    />
  );
}

Steps

| Step | Title | Fields | | ---- | -------------------------------- | ------------------------------------------------------------------- | | 1 | Problem Research | Target user, user journey, pain point, root cause, proof-of-pain links | | 2 | Value Proposition, Positioning & MVP | Product name, one-liner, target users, outcome, differentiation, MVP link | | 3 | Proof of Traction | 3 KPIs with proof, current status, hackathon target | | 4 | Growth Strategy | Go-to-market focus, distribution source/engine, long-term asset, defensibility | | 5 | Pitch & Execution | Pitch video URL, execution timeline |

Props

type LegendsBuildProps = {
  className?: string;
  initialData?: Partial<LegendsBuildData>;
  resources?: StepResources[];
  onChange?: (data: LegendsBuildData) => void;
  onSubmit?: (data: LegendsBuildData) => void;
  onStepChange?: (step: number) => void;
};

| Prop | Description | | -------------- | ------------------------------------------------------------------ | | className | Additional CSS class for the root container | | initialData | Pre-fill form fields (partial data is fine) | | resources | Custom resources per step (videos/links shown in the side panel). Falls back to built-in defaults. | | onChange | Called whenever any field changes | | onSubmit | Called when the user submits on step 5 | | onStepChange | Called when the user navigates between steps |

Custom Resources

Override the default resources panel by passing your own:

import { LegendsBuild, StepResources } from "@legendsdotfun/build";

const resources: StepResources[] = [
  {
    step: 1,
    title: "Problem Research",
    resources: [
      {
        type: "video",
        url: "https://example.com/video",
        title: "How to validate a problem",
        description: "Learn to identify real pain points.",
      },
      {
        type: "link",
        url: "https://example.com/article",
        title: "Startup Ideas Guide",
        icon: "bulb",
      },
    ],
  },
  // ... steps 2-5
];

<LegendsBuild resources={resources} />

Development

# Run the demo app
npm run dev

# Build the library
npm run build

License

Private