Overhauling the codebase from legacy JavaScript to modern TypeScript didn't just improve developer experience—it drastically optimized the tool's performance and footprint across the web.
* 72% Reduction in Bundle Size: By refactoring the legacy code and removing bloated dependencies, the final production build dropped from a heavy script to a lean, tree-shakable module.
* 100% Type Safety: Migrating to TypeScript eliminated a whole class of runtime errors, ensuring predictable configuration for external developers.
* Improved Core Web Vitals: The non-blocking, asynchronous execution design ensured that injecting robust links zeroed out any negative impact on a host site's Total Blocking Time (TBT).
* Open Source Adoption: The new configurable structure led to successful integration into the internet archive.