Install
@sideway/formula
Math and string formula parser.
3.0.1Latest, 16 Dec 2022
83MDownloads, last month
0Advisories on the latest
1Advisories, all versions
BSD-3-ClauseLicence
17Stars
4.3/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | @sideway/formula contains Regular Expression Denial of Service (ReDoS) Vulnerability CVE-2023-25166 | Fixed in 3.0.1 | 8 Feb 2023 |
In the news
- The 17c diminished value formula in 20 lines of TypeScript, and the three edges that matter dev.to, 3 Dec 2026
- What GPA Do I Still Need? One Spreadsheet Formula (Excel & Google Sheets) dev.to, 2 Dec 2026
- Cost per serving: a small formula (and JS function) for comparing supplement prices dev.to, 2 Dec 2026
- Why Do I Get Different Results When Calculating Body Fat Online? Build the Navy Formula in JavaScript and Find the Bugs dev.to, 1 Dec 2026
- Margin vs markup in JavaScript: formulas, edge cases, and pricing for a target margin after fees dev.to, 1 Dec 2026
On Hacker News
- Why is Git Autocorrect too fast for Formula One drivers? 444 points, 243 comments, 19 Jan 2025
- Use Pixar's story formula to win over investors 439 points, 188 comments, 14 Aug 2021
- Summers: Inflation Reached 18% in 2022 Using the Government's Previous Formula 362 points, 422 comments, 13 Apr 2024
- An integer formula for Fibonacci numbers 297 points, 56 comments, 24 Apr 2016
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.