Programmatic API

JavaScript / TypeScript API

This section documents the JavaScript / TypeScript API: the callable nerdamer export, functions and properties attached to it, and symbols imported from Nerdamer package paths. Functions written inside nerdamer('...') are documented separately under Nerdamer Notation.

Three forms can look similar.
nerdamer('factor(x^2-1)')   // Nerdamer Notation
nerdamer.factor('x^2-1')    // function attached to nerdamer
factor('x^2-1')             // direct import from nerdamer/algebra

See Choosing how to use Nerdamer for the differences.

nerdamer API

The default import is itself callable and also exposes functions such as nerdamer.pretty(...), nerdamer.setFunction(...), and nerdamer.factor(...).

Browse the nerdamer API →

Direct imports from npm

These pages document public package paths that can be imported directly from JavaScript or TypeScript.

This TypeDoc file has a combined documentation entry point, so the site currently groups those exports by their source declarations. If TypeDoc later emits separate package entry points, the site will use them automatically.