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

mathguru

v1.4.0

Published

MathGuru ecosystem-grade developer terminal toolkit. Powered by Kontyra.

Downloads

213

Readme

MathGuru Unified Platform

Powered by Kontyra

npm version GitHub release CI lint

MathGuru is a unified ecosystem-grade mathematics platform for CLI + SDK workflows: symbolic math, graphing, LaTeX conversion, formulas, trainer exercises, markdown math tools, conversions, exports, and sessions.

Install

npm install mathguru
npm install -g mathguru

CLI aliases: mathguru and mg.

CLI Examples

mathguru calc "diff(x^2)"
mathguru differentiate "x^3 + 2*x"
mathguru integrate "sin(x)"
mathguru solve "x^2 - 4 = 0"
mathguru graph "sin(x)"
mathguru graph "x^2" --format svg --size 640x360
mathguru latex "sin(x)^2 + cos(x)^2"
mathguru formula economics cobb-douglas
mathguru search derivative
mathguru explain inflation
mathguru trainer calculus --difficulty medium --count 3
mathguru convert 5 km miles
mathguru median 1 3 5 9
mathguru stats-summary 1 2 2 4 5
mathguru circle-area 5
mathguru hypotenuse 3 4
mathguru matrix-multiply "[[1,2],[3,4]]" "[[5,6],[7,8]]"
mathguru matrix-det "[[1,2],[3,4]]"
mathguru md notes.md
mathguru doctor

Shell Mode

mathguru shell

Shell supports persistent commands, history, help, clear, stats, exit, and symbolic shorthand such as:

mathguru> integrate(sin(x))
mathguru> graph x^2

SDK Examples (CommonJS)

const mathguru = require('mathguru');

mathguru.calc.integrate('sin(x)');
mathguru.graph.plot('x^2', { size: '40x20' });
mathguru.latex.convert('x^2 + 1');
mathguru.formulas.get('cobb-douglas', 'economics');
mathguru.finance.compoundInterest(1000, 5, 2, 12);
mathguru.statistics.summary([1, 2, 2, 4, 5]);
mathguru.geometry.distance2d(0, 0, 3, 4);
mathguru.matrix.multiply(
  [
    [1, 2],
    [3, 4],
  ],
  [
    [5, 6],
    [7, 8],
  ]
);

Session and Export

mathguru save-session demo
mathguru load-session demo
mathguru export-session csv demo
mathguru export history markdown

Configuration

mathguru config set precision 2
mathguru config set graphSize 80x20
mathguru config set graphFormat svg
mathguru config set exportFormat markdown

Testing and Validation

npm test
npm run coverage
npm run doctor
npm run benchmark

Professional test suite covers calc, formulas, graph, latex, trainer, markdown, cli, shell, sdk, config/export/session/history, conversion, parser, and integration.

New Feature Areas

  • Statistics: median, mode, range, variance, standard deviation, and summary.
  • Geometry: circle area, rectangle area, triangle area, hypotenuse, and 2D distance.
  • Calculus shortcuts: direct differentiate, integrate, simplify, and solve commands.
  • Matrix math: add, subtract, multiply, transpose, determinant, and inverse.

Future-ready (not implemented yet)

Prepared architecture (not implemented by design):

  • AI integrations and AI tutor
  • VSCode extension
  • local REST API server
  • cloud sync/collaboration

Contributing

See CONTRIBUTING.md, RELEASE.md, and docs/.

License

MIT