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

millionbounce

v1.0.1

Published

Node.js and WebBluetooth API for the Master-A-Million 2.0 Bluetooth LE Bouncy Ball

Downloads

4

Readme

MillionBounce - Master-A-Million Node.js/WebBluetooth Drivers

Javascript/Typescript project for exposing access to Bluetooth functionality of the Master A Million 2.0 Bluetooth Bouncy Ball.

Installation

npm install

Notes

  • The first time you register a ball, you'll need to set the ID. If it's just blinking red for a couple of minutes, that means it's uninitialized and needs an ID. If the ID isn't set within ~2 minutes, bluetooth shuts down. An ID is just a 24 bit number, usually provisioned by the MAM website, but you can just put anything in. Note that if you use a number then try to use the app, I have no idea what will happen.
  • After an ID is set, the ball will blink red 3 times every time you bounce it. This will start bluetooth up for something like 20 seconds. AFAICT there is no keep alive outside of bouncing the ball more, which resets the timer. After that, the ball just shuts down until bounced again. That makes this less than useful for WebBluetooth, which requires user gesture reconnects every time the device disconnects. I'm not sure if there's a protocol based keepalive yet.

Donate!

If you'd like to see more stupid projects like this, feel free to donate to my patreon

Why isn't it just named masteramillion?

That's a trademarked term, and naming packages like that can get a little dicey sometimes. In lieu of having to change the name later, I just made it something vaguely close for now.