@openmirai/calculator-core
v0.2.0
Published
Framework-independent scientific calculator, graphing, statistics, and math tools.
Maintainers
Readme
@openmirai/calculator-core
Framework-independent calculation utilities for the OpenMirai calculator. The package has no runtime dependencies, React code, styles, or assets.
pnpm add @openmirai/calculator-coreimport { evaluateExpression } from "@openmirai/calculator-core/engine"
const result = evaluateExpression("sin(30) + sqrt(81)", {
angleMode: "degrees",
})Coverage
pnpm test:coverage enforces the committed core coverage minimums. After adding
tests, run pnpm test:coverage:ratchet to raise each minimum to the next achieved
whole-number percentage; the ratchet never lowers an existing threshold.
