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

@capytale/capytale-logic

v0.2.4

Published

A logic circuit simulator useful for educational use.

Downloads

51

Readme

Logic Circuit Simulator

A logic circuit simulator useful for educational use.

This is a fork followed by an almost complete rewrite of drendog's Logic-Circuit-Simuator.

Demo

See https://jp.pellet.name/hep/logiga/

Development

  • Checkout with git
  • npm install
  • Open VS Code and open folder
  • npm run compile-watch to run the TypeScript compiler (without output) to check for errors
  • npm run lint-watch to run eslint to check for linting errors
  • npm run bundle-watch to build the bundle with esbuild (can be done on every save because esbuild is so fast)
  • npm run server to serve locally for testing on port 8088

Differences with Original Version

  • This fork is completely written in TypeScript
  • Based on web components so that it can easily be embedded by pulling in a single JS file
  • Dependency on p5 was removed
  • Interface is drawn differently, all with canvas calls and no external images
  • Screen is only refreshed when needed and not 60 times per second no matter what
  • Clocks can be paused
  • Components have been added: bit display, segment display, nibble display, half adder, muxes, register, RAM, counter, various decoders, etc.
  • Size of components (in terms of number of bits) can be changed
  • RAM/ROM contents can be loaded from files
  • Mouseover tooltips have been added
  • Components can be edited to be faulty, for educational exercises
  • Editor can be in several modes with different capabilities
  • Component buttons can be hidden or shown for educational purposes with URL parameters
  • Loading and saving using JSON is much cleaner and does not include unnecessary properties
  • Demo circuits are predefined and can be loaded from the JavaScript console
  • Circuits can be loaded from a JSON export by drag-n-drop
  • An animated propagation delay can be set
  • Custom components can be created, loaded, saved from library files
  • Tests for a given circuit can be defined (or automatically generated) and run
  • UI can be in English or French (easy to add more translations)
  • Much more

License

MIT License