Package
@hapi/formula
Math and string formula parser.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 6.2m
- +303% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 months ago
- v4.0.0
- GitHub stars
- 17
- 21 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 9
Downloads
Last week 2026-09-15 to 2026-09-21
6,210,331 downloads last week. The 12-month change of +303% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 17 in total
- Latest version
- 4.0.0, 1 Jul 20262 months ago
- First published
- 24 Jun 2019
- Last push to GitHub
- 1 Jul 202685 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 9
- Dependents on npm
- 16
Major versions
- v4 first release 4.0.0, 1 Jul 2026
- v3 first release 3.0.0, 4 Jan 2020
- v2 first release 2.0.0, 7 Oct 2019
- v1 first release 1.0.0, 24 Jun 2019
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 1 Jul 2026 |
| 3.0.2 | 19 Feb 2023 |
| 3.0.0 | 4 Jan 2020 |
| 2.0.0 | 7 Oct 2019 |
| 1.2.0 | 9 Aug 2019 |
| 1.1.0 | 24 Jun 2019 |
| 1.0.0 | 24 Jun 2019 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 17 kB
- Dependencies (0)
- None
npm install @hapi/formula- jsDelivr
https://cdn.jsdelivr.net/npm/@hapi/formula@4.0.0/ - unpkg
https://unpkg.com/@hapi/formula@4.0.0/ - esm.sh
https://esm.sh/@hapi/formula@4.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| expr-eval | 382.7k | - | 6 years ago | ESM + CommonJS | - |
| @cortex-js/compute-engine | 176.4k | - | today | ESM + CommonJS | - |
Indexability: Indexed.