# ffjavascript

> Finite Field Library in Javascript

Latest version **0.3.1** (published 2024-10-12) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install ffjavascript
pnpm add ffjavascript
yarn add ffjavascript
bun add ffjavascript
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2024-10-12 |
| First published | 2020-03-26 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 974 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 57 |
| Author | Jordi Baylina |
| Maintainers | jbaylina, obrezhniev |
| Keywords | Finite, Field, Javascript, Snark, Cryptography, Library |

## Links

- npm: https://www.npmjs.com/package/ffjavascript
- Repository: https://github.com/iden3/ffjavascript
- Issues: https://github.com/iden3/ffjavascript/issues
- npm.io page: https://npm.io/package/ffjavascript

## Dependencies (3)

- [wasmcurves](https://npm.io/package/wasmcurves.md) 0.2.2
- [web-worker](https://npm.io/package/web-worker.md) 1.2.0
- [wasmbuilder](https://npm.io/package/wasmbuilder.md) 0.0.16

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2024-10-12
- 0.3.0 — 2024-04-15
- 0.2.63 — 2024-01-12
- 0.2.62 — 2023-10-26
- 0.2.60 — 2023-08-09
- 0.2.59 — 2023-05-18
- 0.2.57 — 2022-10-25
- 0.2.56 — 2022-09-01
- 0.2.55 — 2022-06-04
- 0.2.54 — 2022-05-17
- 0.2.53 — 2022-05-16
- 0.2.52 — 2022-04-01
- 0.2.51 — 2022-03-05
- 0.2.50 — 2022-02-23
- 0.2.48 — 2022-01-19
- … 55 more at https://npm.io/package/ffjavascript/versions

## README

# ffjavascript

Finite Field Library in Javascript

This package is tested to work in the following environments:

- **NodeJS**
- **Browser**
- **Chrome Extension**
- **Metamask Snaps (SES)**

## Knows Issues

### Webpack Configuration

If you're using the `ffjavascript` package in a webpack project (Next.js/Angular), you may need to disable the `splitChunks` option in your webpack configuration.

```javascript
module.exports = {
  // ...
  optimization: {
    splitChunks: false,
  },
  // ...
};
```

## License

ffjavascript is part of the iden3 project copyright 2020 0KIMS association and published with GPL-3 license. Please check the COPYING file for more details.

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