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

@tscircuit/fake-snippets

v0.0.195

Published

Build electronics with React. The website for tscircuit packages and the online tscircuit editor

Readme

tscircuit.com

Build electronics with React. The website for tscircuit packages and the online tscircuit editor

Docs · Website · Twitter · discord · Quickstart · Online Playground

tscircuit.com is a web application for creating, sharing, and managing circuit designs using TypeScript and React. It provides an intuitive interface for designing circuit boards, packages, footprints, and 3D models.

Features

  • Create and edit circuit designs using TypeScript and React
  • Real-time preview of PCB layouts and 3D models
  • Share and collaborate on circuit designs
  • AI-assisted circuit design and error correction
  • Import and export designs in various formats

Getting Started

Prerequisites

  • Bun (latest version)

Installation

  1. Clone the repository:
git clone https://github.com/tscircuit/tscircuit.com.git
cd tscircuit.com
  1. Install dependencies:
bun install

Running the Development Server

To start the development server:

bun run dev

This command will build the fake API and start the Vite development server. Open http://localhost:5173 in your browser to view the application.

Testing the AI in Development

Create a .env file with the following:

VITE_USE_DIRECT_AI_REQUESTS=true
VITE_ANTHROPIC_API_KEY=<your-key-here>

Error Reporting

To enable Sentry error monitoring, set the SENTRY_DSN environment variable before running the app. The value will be exposed to the client as VITE_SENTRY_DSN and used to initialize Sentry.

Building for Production

To build the project for production:

bun run build

This will create a production-ready build in the dist directory.

Project Structure

  • src/: Contains the main React application code
  • fake-snippets-api/: Contains the mock API for development
  • public/: Static assets
  • src/components/: Reusable React components
  • src/hooks/: Custom React hooks
  • src/pages/: Main page components
  • src/lib/: Utility functions and helpers
  • playwright-tests/: Playwright test files
  • playwright-tests/snapshots/: Visual regression test snapshots

Snapshots

We use Playwright for visual regression testing. Snapshots are stored in the playwright-tests/snapshots/ directory.

To update a single snapshot run...

bun run snapshot

This will prompt you to select a specific test file to update.

Contributing

We welcome contributions to TSCircuit Snippets! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

Example Snippets

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

For more information, visit tscircuit.com.