Skip to content

Instantly share code, notes, and snippets.

@Kudlayra
Last active July 7, 2025 18:57
Show Gist options
  • Select an option

  • Save Kudlayra/448f4c75d4b4edba89df5844a1c91438 to your computer and use it in GitHub Desktop.

Select an option

Save Kudlayra/448f4c75d4b4edba89df5844a1c91438 to your computer and use it in GitHub Desktop.
[
{ "name": "meter", "symbol": "m", "plural": "meters", "coefficient": "1.0", "type": "LENGTH" },
{ "name": "kilometer", "symbol": "km", "plural": "kilometers", "coefficient": "1000", "type": "LENGTH" },
{ "name": "centimeter", "symbol": "cm", "plural": "centimeters", "coefficient": "0.01", "type": "LENGTH" },
{ "name": "millimeter", "symbol": "mm", "plural": "millimeters", "coefficient": "0.001", "type": "LENGTH" },
{ "name": "mile", "symbol": "mi", "plural": "miles", "coefficient": "1609.35", "type": "LENGTH" },
{ "name": "foot", "symbol": "ft", "plural": "feet", "coefficient": "0.3048", "type": "LENGTH" },
{ "name": "inch", "symbol": "in", "plural": "inches", "coefficient": "0.0254", "type": "LENGTH" },
{ "name": "yard", "symbol": "yd", "plural": "yards", "coefficient": "0.9144", "type": "LENGTH" },
{ "name": "kilogram", "symbol": "kg", "plural": "kilograms", "coefficient": "1000", "type": "WEIGHT" },
{ "name": "milligram", "symbol": "mg", "plural": "milligrams", "coefficient": "0.001", "type": "WEIGHT" },
{ "name": "pound", "symbol": "lb", "plural": "pounds", "coefficient": "453.592", "type": "WEIGHT" },
{ "name": "ounce", "symbol": "oz", "plural": "ounces", "coefficient": "28.3495", "type": "WEIGHT" },
{ "name": "centner", "symbol": "c", "plural": "centners", "coefficient": "100000", "type": "WEIGHT" },
{ "name": "gram", "symbol": "g", "plural": "grams", "coefficient": "1", "type": "WEIGHT" },
{ "name": "ton", "symbol": "t", "plural": "tons", "coefficient": "1000000", "type": "WEIGHT" },
{ "name": "carat", "symbol": "ct", "plural": "carats", "coefficient": "0.2", "type": "WEIGHT" },
{ "name": "newton", "symbol": "N", "plural": "newtons", "coefficient": "101.97162129779", "type": "WEIGHT" },
{ "name": "stone", "symbol": "st", "plural": "stones", "coefficient": "6350.29318", "type": "WEIGHT" },
{ "name": "dram", "symbol": "dr", "plural": "drams", "coefficient": "1.7718451953125", "type": "WEIGHT" },
{ "name": "gran", "symbol": "gr", "plural": "grains", "coefficient": "0.0647989", "type": "WEIGHT" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment