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 🙏

© 2024 – Pkg Stats / Ryan Hefner

brainbox

v1.1.40

Published

BrainBox. A browser based circuit simulator which is able to run on a raspi with a node.js backend and has access to the GPIO pins.

Downloads

16

Readme

Brainbox - working with real device

Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.

Now you can edit and run your digital circuit simulation designs online on PCs, Macs, thin clients, tablets, smart phones, smart TVs and e-book readers without any installation. You can use BrainBox in the office, classroom or at home and connect even your RaspberryPi to drive real physical devices.

Test the program on http://www.brainbox-demo.de

image

How to install it

You can start and run brainbox for different user groups.

Single User

Ideal for your own use. Simply start and get started. No user administration or login and full access to all features.

npm install -g brainbox
brainbox

Shared

Everyone has access to the simulator without registration. Drawings and documents can also be saved and you always get a unique URL when saving to access the document again later. Ideal to play with the simulator in smaller or larger groups and share your work with others.

npm install brainbox
brainbox --storage shared-public

Multi User

Simulator is available for everyone in a read only mode. However, only logged in persons can save or change documents. Private files are not publicly accessible. Working groups and tasks can be created and distributed. Ideal for schools and in education.

npm install brainbox
brainbox --storage multiple-user

As mention before you must install brainbox via npm. But what is npm?

NPM is the package manager for NodeJS applications.

It's the world's largest software registry, with approximately 3 billion downloads per week. Open-source developers from every continent use npm to share and borrow packages, and many organizations use npm to manage private development as well.

If you didn't have installed NodeJS and npm - go ahead and install it

See the running example on YouTube: https://www.youtube.com/watch?v=fUkAIjTaNXI

On Desktop

You can install the application even in your local intranet for training purpose. Just install and run the backend server (to store and load the circuit files) on every computer which can run a simple node.js server.

On a Raspberry Pi

You have full access to the GPIO pins on you RaspberryPi with the browser based digital circuit simulator. If node.js already running on your raspi you need just to install the simulator like on your desktop

Run from source code

I develop the project with yarn to build my webpack. YARN runs on Node.js, so if you don't have npm installed already, go ahead and install it.

Install dependencies with npm

yarn install

Run the backend server

node ./app/backend/index.js

Run the webpack builder in dev mode

open a second console and run

yarn dev