Skip to content

tg2648/unit-converter

Repository files navigation

logo

Unit Converter

This is a simple unit converter, which can be "installed" like an app. I wanted to create a converter that is simple to use and only has a handful of common units.

Adding more units

The DATA variable in src/data.tsx contains units grouped by category (length, mass, etc.). Within each category, units are converted against one common unit (identified by having a conversionFactor of 1).