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

mistakes

v0.0.0

Published

live-coding, oriented towards giving presentations about programming and showing what you mean.

Downloads

3

Readme

mistakes.io

live-coding, oriented towards giving presentations about programming and showing what you mean.

Require

require functionality is powered by live-require

There is one additional 'feature' of the interface. A magic function called require will include a javascript file by URL, on the page. Here's an example.

Gists

mistakes supports loading from GitHub Gists to help you share code better. When you see a URL like http://macwright.org/mistakes/#5051892 that means it's loading the gist at https://gist.github.com/tmcw/5051892.

It works with anyone's gists. The expectation is that gists contain a single Javascript file - you can add a README too if you give it a file extension other than .js, like if you name it README.md.

Notes

There are a few 'principles' of mistakes:

Mistakes does not do magic. There is no complicated code compilation or parsing - it's just eval. See the incremental eval module, which powers this part of mistakes. What works in Javascript works in mistakes. Therefore, there's very little code - less than 200 sloc if you don't count CodeMirror, the editor component.

Local

There are three rules of presenting:

  1. Never ever rely on the internet for a presentation.
  2. Always have a VGA adapter at all times.
  3. Only present about things you're interested in.

Mistakes now helps with #1. Instead of counting on GitHub Gists for samples when giving a live presentation, clone (or download) this repository and drop Javascript files in the local/ directory. I've included equals.js in there as an example.

Then boot up a server, and go to http://localhost:3000/#yourfile.js or whatever.

Developing Locally

Clone this repo and run npm install && npm start

See Also