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

effect-playground

v0.1.0

Published

Interactive course for Effect v4 (TypeScript): plain-English lessons, fix-the-code challenges, build-it problems, and recall cards, with real type checking and execution in the browser

Readme

Effect Playground

An interactive course for Effect v4 (TypeScript). You learn by fixing broken programs and by building small ones. Type checking and execution happen in your browser: no server, no install.

Open it: https://scr2em.github.io/effect-playground/

Or run it locally (Node 20.19 or newer):

npx effect-playground

How a section is built, and why

Each section follows the same arc, based on how people learn a new programming model:

  1. The problem in plain TypeScript. You cannot value a solution before you see the problem.
  2. The shift in mental model. Effect is not a set of helpers. It changes what a "program" is. The shift is named so that you do not write Promise code with Effect syntax.
  3. A table of the alternatives with "use it when" columns, so you get a map before the details.
  4. Learn: worked examples that run. Each introduces one idea. Formats vary: problem-first, comparison tables, plain TypeScript next to Effect.
  5. Do and don't: a 3-column table (do, don't, why) specific to the section's APIs.
  6. Fix it: broken programs. Early ones lack one call, later ones lack more. Some fail only as a type error, which is the point of Effect. Hints are progressive. After success, the page explains why the fix works.
  7. Build it: small real programs from a spec with an exact expected output.
  8. Recall: questions to answer in your head. Come back to them the next day.

All prose follows ASD-STE100 Simplified Technical English. Every heading has a # link, so you can share a link to one lesson, one challenge, or one table.

Progress, drafts, and editor heights are stored in your browser. "Reset progress" in the sidebar clears them.

What runs your code

Your code is type-checked in a web worker against the real [email protected] declarations, then transpiled and executed in a sandboxed worker with a bundled copy of Effect. Type errors do not block execution, so you see both the compiler's view and what actually happened. A run that does not finish in 10 seconds is stopped.

See ARCHITECTURE.md for the design.

Develop

pnpm install
pnpm run build:assets   # bundles Effect for the browser and collects its types into public/
pnpm dev                # Astro dev server
pnpm test               # Vitest: runtime, content schema, and React component tests
pnpm run verify         # runs every lesson, challenge, and problem in Node; all must pass
pnpm run build          # assets + static site into dist/

The stack: Astro 7 with React 19 islands, StyleX for styling, Vitest, pnpm. TypeScript 7 (the native compiler) checks the project. The in-browser type checker and the Node verifier use the last JavaScript-based TypeScript (6.0) under the typescript-js alias, so both give identical diagnostics.

Content lives in content/sections/*.ts. See content/AUTHORING.md for the rules and content/types.ts for the schema. Run pnpm run verify <sectionId> after you edit a section.

Pushes to main build, verify, and deploy to GitHub Pages through .github/workflows/deploy.yml.

License

MIT