logoalt Hacker News

Kirotoday at 7:00 PM1 replyview on HN

You only add what you need instead of importing some bloated dependency. That means you can actually review the code yourself.


Replies

wizzwizz4today at 7:15 PM

Relevant reading: https://nesbitt.io/2026/02/16/changelog.html

> Removed: mathjs dependency. 14MB, 200+ functions. Twelve functions used. Added: Custom math utilities module (src/math-utils.js). Addition, subtraction, multiplication, division, a handful of trig functions. Co-authored-by: chatgpt. Changed: Bundle size reduced by 68%. Build time down from 12s to 4s. Module: 47 lines across 1 file. 0 tests. 0 dependencies.

show 1 reply