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

numbl

v0.0.12

Published

Run .m source files in the browser and on the command line by compiling to JavaScript

Readme

Numbl

Numbl is an open-source numerical computing environment that aims to be compatible with Matlab. It works by compiling .m source code to JavaScript and executing it directly. It can work in the browser or on the command line.

Early stage project. Numbl is under active development and new functionality is being added regularly.

Try it in the browser

You can try numbl directly in the browser at https://magland.github.io/numbl — no installation required. All execution happens locally in your browser. Note that the browser version has limited functionality and is slower than the CLI.

Installation

npm install -g numbl

To enable fast linear algebra (matrix inverse, SVD, eigenvalues, etc.), build the native LAPACK addon:

# Prerequisites: C++ compiler, libopenblas-dev, libfftw3-dev (or equivalents for your OS)
numbl build-addon

Usage

numbl                          # interactive REPL
numbl run script.m             # run a .m file
numbl eval "disp(eye(3))"     # evaluate inline code
numbl info                     # print info (JSON), including native addon status
numbl list-builtins            # list available built-in functions
numbl --help                   # show all commands and options

Try it with Docker

Run the REPL instantly — no installation required:

docker run -it node:22 npx numbl

With plotting support (open http://localhost:8234 in your browser):

docker run -it -p 8234:8234 node:22 npx numbl --plot-port 8234

With native LAPACK support for fast linear algebra:

docker run -it node:22 bash -c "apt-get update && apt-get install -y libopenblas-dev libfftw3-dev && npx numbl build-addon && npx numbl"

With both LAPACK and plotting:

docker run -it -p 8234:8234 node:22 bash -c "apt-get update && apt-get install -y libopenblas-dev libfftw3-dev && npx numbl build-addon && npx numbl --plot-port 8234"

Upgrading

npm install -g numbl@latest

Note: if you previously built the native addon, you'll need to run numbl build-addon again after upgrading.

Documentation

Authors

Jeremy Magland and Dan Fortunato, Center for Computational Mathematics, Flatiron Institute.

License

Apache 2.0.

Acknowledgements

See ACKNOWLEDGEMENTS.md.