# @pie-lib/math-rendering

> math rendering utilities

Latest version **5.1.0** (published 2026-07-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install @pie-lib/math-rendering
pnpm add @pie-lib/math-rendering
yarn add @pie-lib/math-rendering
bun add @pie-lib/math-rendering
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.1.0 |
| Published | 2026-07-01 |
| First published | 2018-08-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 152.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4 |
| Author | pie-framework developers |
| Maintainers | ed.eustace, lakatosandrei, chillenious, andreeapescar, carlacostea, iacoshoria, justinheuer |

## Links

- npm: https://www.npmjs.com/package/@pie-lib/math-rendering
- Repository: https://github.com/pie-framework/pie-lib
- Homepage: https://github.com/pie-framework/pie-lib#readme
- Issues: https://github.com/pie-framework/pie-lib/issues
- npm.io page: https://npm.io/package/@pie-lib/math-rendering

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [react](https://npm.io/package/react.md) ^18.2.0
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.23
- [mathjax-full](https://npm.io/package/mathjax-full.md) 3.2.2
- [@pie-framework/mathml-to-latex](https://npm.io/package/@pie-framework/mathml-to-latex.md) 1.4.4

## Recent versions

- 5.1.0 (latest) — 2026-07-01
- 6.0.0-next.3 (next) — 2026-09-16
- 3.40.0-mui-update.0 (mui-update) — 2025-12-29
- 3.19.5-esmbeta.2 (esmbeta) — 2025-10-07
- 3.3.0-beta.8 (beta) — 2025-07-25
- 5.1.1-next.35 — 2026-08-12
- 5.0.3-next.97 — 2026-07-01
- 5.0.3-next.2 — 2026-06-04
- 0.1.1-next.0 — 2026-06-02
- 5.0.2 — 2026-05-15
- 5.0.3-next.1 — 2026-05-07
- 5.0.2-next.1 — 2026-05-07
- 5.0.2-next.0 — 2026-05-06
- 5.0.1 — 2026-04-28
- 5.0.0 — 2026-04-24
- … 212 more at https://npm.io/package/@pie-lib/math-rendering/versions

## README

# @pie-lib/\*

[![CircleCI](https://circleci.com/gh/pie-framework/pie-lib.svg?style=svg)](https://circleci.com/gh/pie-framework/pie-lib)

Some reusable react components, mostly used in [pie][pie] components.

Elements are in `packages`.

## Documentation

- [MathQuill → MathLive migration plan](docs/mathquill-to-mathlive-migration.md)

## install

```bash
yarn install
```

## Commands

| Action  | Cmd                                 | Notes                                                     |
| ------- | ----------------------------------- | --------------------------------------------------------- |
| test    | `npm test`                          |                                                           |
| lint    | `npm run lint`                      |                                                           |
| build   | `npm run build`                     |                                                           |
| release | `npm run release`                   |                                                           |
| dev     | `scripts/dev --scope $package-name` | run the demo site on localhost:3000 `--scope` if optional |
| static  | `scripts/wip $alias-name`           | build and deploy the static site tno now.sh               |

## Workflow

- merging to `develop` releases `next` versions and deploys to `pie-lib-next.now.sh`
- merging to `master` releases `latest` versions and deploys to `pie-lib.now.sh`

### test a single package

Just point jest to the dir/file:

```bash
./node_modules/.bin/jest packages/pkg-name/src/
```

## contributing

- the packages use `independent` versioning, meaning that a change in 1 package won't bump another package's version.
- use [conventional commits syntax][ccs] when commiting, lerna will detect the appropriate version bump.

### rebase

To skip husky during a rebase do:

```shell
HUSKY_SKIP_HOOKS=1 git rebase ...
```

### dependencies

[lerna]: https://lernajs.io/
[pie]: http://pie-framework.org
[ccs]: https://conventionalcommits.org/

## Test issues

Sometimes the project test set up can get out of synch

- try `npm run build`, `rm -fr packages/test-utils/node_modules` and run again.

## Building and deploying a pre-release

```shell
# make sure the local demo is working first: scripts/dev then:
./node_modules/.bin/next build packages/demo
./node_modules/.bin/next export packages/demo
cd out
# you can now deploy using now (or if you have another static site handler)
now .
```

#

## Linking pslb
You'll have to run the link commands in the pslb repo, then you can run 
```shell
yarn clean-install && yarn link-pslb && yarn print-module
```

---
_Source: https://npm.io/package/@pie-lib/math-rendering · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
