
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
A modular math, economics, and finance utility library with a beginner-friendly Node.js CLI.
A professional Node.js math, economics, and finance library with a polished CLI (command mode + interactive menu mode).
Current package version: 1.1.0
npm install mathguru
npm install -g mathguru
npm link
mathguru/
├── bin/
│ └── mathguru.js
├── src/
│ ├── basic/
│ ├── scientific/
│ ├── economics/
│ ├── finance/
│ ├── cli/
│ └── utils/
├── index.js
├── package.json
├── README.md
└── test.js
mathguru add 2 3
mathguru factorial 5
mathguru inflation 500 700
mathguru help
mathguru version
Run without arguments:
mathguru
This opens an interactive terminal app with:
__ __ _ _ _____
| \/ | __ _| |_| |__ | ___| _ _ __ ___
| |\/| |/ _` | __| '_ \ | |_ | | | | '_ \ / _ \
| | | | (_| | |_| | | || _|| |_| | | | | __/
|_| |_|\__,_|\__|_| |_||_| \__,_|_| |_|\___|
Welcome to MathGuru Interactive CLI
Version: 1.1.0
Select a category: Basic Math
Choose an operation: Add
Enter a: 12
Enter b: 8
Result: 20
mathguru add <a> <b>mathguru subtract <a> <b>mathguru multiply <a> <b>mathguru divide <a> <b>mathguru square <x>mathguru factorial <n>mathguru power <base> <exponent>mathguru sqrt <x>mathguru average <n1> <n2> ...mathguru percentage <value> <total>mathguru inflation <oldPrice> <newPrice>mathguru gdp-growth <oldGDP> <newGDP>mathguru simple-interest <principal> <rate> <time>mathguru compound-interest <principal> <rate> <time> <frequency>mathguru loan-repayment <principal> <annualRate> <months>const {
add,
sqrt,
factorial,
simpleInterest,
compoundInterest,
inflationRate,
gdpGrowth,
loanRepayment,
} = require('mathguru');
console.log(add(2, 3));
console.log(sqrt(25));
console.log(factorial(5));
console.log(simpleInterest(1000, 5, 2));
console.log(compoundInterest(1000, 5, 2, 12));
console.log(inflationRate(500, 700));
console.log(gdpGrowth(10000, 12000));
console.log(loanRepayment(100000, 7.5, 60));
MathGuru validates all inputs and shows friendly errors for:
MathGuru remains CommonJS compatible:
require() importsmodule.exports exportsnpm test
FAQs
MathGuru ecosystem-grade developer terminal toolkit. Powered by Kontyra.
The npm package mathguru receives a total of 16 weekly downloads. As such, mathguru popularity was classified as not popular.
We found that mathguru demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.