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

@neuromatch/course-kit

v0.4.4

Published

Neuromatch course kit: MyST plugins for Neuromatch courses

Readme

@neuromatch/course-kit

The MyST plugin for Neuromatch courses: one bundled file plus the browser assets it uses. It is one half of the Neuromatch course kit; the other half is the nma-kit command line, which checks content and generates notebooks. Both ship under the same version.

You normally don't install this package. A course's myst.yml loads it from jsDelivr:

version: 1
extend: https://cdn.jsdelivr.net/npm/@neuromatch/[email protected]/dist/nma.yml
project:
  github: https://github.com/<org>/<course>

dist/nma.yml adds the plugin and turns on project.jupyter.lite. In CI, nma-kit prepare-site rewrites @0.4 to the exact version of the CLI, so the plugin, its assets and the CLI always match. See the kit README for the full course setup.

What it adds to MyST

| Directive / feature | What it does on the site | |---|---| | {nma-video} | Embedded YouTube, Bilibili or OSF videos, one tab per host | | {nma-slides} | A slide deck from OSF (:osf:) or a PDF in the course repo (:path:), one tab per backend, with download links | | {nma-solution}, {nma-explanation} | A "Click for solution" link; the solution text itself is never on the page | | {nma-data} | A "Data used by this notebook" note; the declared files are embedded for the page's editable cells | | {nma-feedback} | A feedback widget that posts to datatops from the browser | | layout: scrolly, {step}, {stage} | Scrollytelling pages with live Python (Pyodide) | | Editable cells | Code cells become editable and runnable in the browser on pages with a kernelspec; runtime: colab pages get a Colab banner instead |

Examples:

:::{nma-video} Video 1: Linear dynamical systems
:youtube: vPYQPI4nKT8
:bilibili: BV1up4y1S7wj
:::

:::{nma-feedback} Linear_Dynamical_Systems_Video
:::

Directives must be at the top level of a page. Their options are checked by nma-kit check.

Settings live in the nma: block of myst.yml (content is required, the rest optional):

nma:
  content: [tutorials, projects]   # folders holding pages; or {name: guide, path: docs/guide}
  notebooks:
    branch: notebooks-branch
  feedback: { url: https://..., project: ..., user_key: ... }
  scrolly:
    pyodide_url: https://cdn.jsdelivr.net/pyodide/v314.0.7/full/

A plugin can't add site-wide CSS, so the Neuromatch look (colours, Rubik font, logos, favicon, and the rule that hides JupyterLite's toolbar) comes from the nma-kit sync-assets command in the PyPI package instead. It writes _nma/, which the course's myst.yml lists under site.options (style, logo, logo_dark, favicon). See the kit README.

What's in the package

dist/nma.mjs         the plugin (all features, one file)
dist/nma.yml         the config courses `extend:`
dist/assets/<name>/  browser widgets and CSS, one folder per feature
dist/build-info.json {mode, version}

Asset URLs inside the bundle point at this exact version on jsDelivr. MyST downloads them at build time and serves them from the course's own site, so readers' browsers don't contact the CDN for them. The one exception is the Python runtime: editable cells and scrolly pages load Pyodide from cdn.jsdelivr.net, and micropip installs packages from PyPI.

Versions

The kit is on 0.x. A breaking change bumps the minor version, so @0.4 only receives compatible fixes. Don't use @latest in myst.yml: jsDelivr caches alias URLs for up to 7 days and @latest crosses major versions.

Development

Source, tests and release process: https://github.com/neuromatch/course-kit.

BSD-3-Clause.