{"id":24009521,"url":"https://github.com/harrydehix/simple-units","last_synced_at":"2025-06-23T04:38:42.154Z","repository":{"id":46530300,"uuid":"389754831","full_name":"harrydehix/simple-units","owner":"harrydehix","description":"expandable unit system, providing unit conversion on small and large scale","archived":false,"fork":false,"pushed_at":"2024-08-08T20:20:09.000Z","size":1035,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-09T20:38:09.423Z","etag":null,"topics":["simple-units","unit-conversions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harrydehix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-07-26T20:04:37.000Z","updated_at":"2024-08-09T20:38:09.424Z","dependencies_parsed_at":"2023-12-16T12:06:01.140Z","dependency_job_id":"e95e218c-5980-46ee-9df1-18103a7337a2","html_url":"https://github.com/harrydehix/simple-units","commit_stats":{"total_commits":144,"total_committers":2,"mean_commits":72.0,"dds":0.00694444444444442,"last_synced_commit":"ace8de9550d6ad540f7db71a575eabea4f161736"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydehix%2Fsimple-units","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydehix%2Fsimple-units/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydehix%2Fsimple-units/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydehix%2Fsimple-units/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harrydehix","download_url":"https://codeload.github.com/harrydehix/simple-units/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232971706,"owners_count":18604835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["simple-units","unit-conversions"],"created_at":"2025-01-08T03:59:26.906Z","updated_at":"2025-01-08T03:59:27.615Z","avatar_url":"https://github.com/harrydehix.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-units\n\n![GitHub milestones](https://img.shields.io/github/milestones/all/harrydehix/simple-units) ![GitHub last commit](https://img.shields.io/github/last-commit/harrydehix/simple-units)\u003cbr\u003e\nunit converter with focus on the golden mean between simplicity, customizability and [performance](https://github.com/harrydehix/converters-performance)\n\n# Key Features\n\n## Converting\n\n```typescript\nconst converted = units.from(3, \"cm\").to(\"in\");\nconsole.log(converted);\n// Output: 1.1811\n```\n\n## Comparing\n\n```typescript\nconst c1 = units.Convertible(100, \"kilometer\");\nconst c2 = units.Convertible(1000, \"meter\");\n\nif (c1.lt(c2)) {\n    console.log(`${c1} is less than ${c2}!`);\n} else if (c1.eq(c2)) {\n    console.log(`${c1} and ${c2} are equal!`);\n} else {\n    console.log(`${c1} is greater than ${c2}!`);\n}\n// Output: 100km is greater than 1000m!\n```\n\n## Formatting\n\n```typescript\nconst convertible = units.Convertible(12.2323123, \"kt\");\nconsole.log(convertible.format(\"%.2f %s\", { length: \"long\" }));\n// Output: 12.23 knots\n```\n\n## Customizing\n\n```typescript\n\nconst myCustomUnit = new Unit(...);\n\nunits.group(\"length\").Editor.add(myCustomUnit);\n```\n\n# Documentation\n\nRead useful guides [here](https://github.com/harrydehix/simple-units/tree/main/guides).\nRead the full documentation [here](https://harrydehix.github.io/simple-units/).\n\n# Why simple-units?\n\n_simple-units_ is one of the fastest unit converters ([see performance tests](https://github.com/harrydehix/converters-performance)) while being the most flexible and easiest one. It's designed to feel natural. Added to that as adding custom units to _simple-units_ is very simple, you are not dependend on the package developer (!). Last but not least it supports a huge amount of units and powerful functionality like comparing quantities of different units or formatting them nicely.\n\n# Supported Units\n\n## Area\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0m²\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0m^2, %0m2, square %0meter, sq %0meter, sq %0metre, square %0metre, square %0meters, sq %0meters, sq %0metres, square %0metres\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\n            \u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta)\u003c/p\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0a\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0are, %0ares\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\n                \u003cp\u003e\n                \u003cb\u003e0:\u003c/b\u003e\n                \u003ccode\u003ec\u003c/code\u003e(centiare), \u003ccode\u003ed\u003c/code\u003e(deciare), \u003ccode\u003eda\u003c/code\u003e(decare), \u003ccode\u003eh\u003c/code\u003e(hectare)\n                \u003c/p\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003ein²\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e″², in^2, ″^2, ″2, in2, square inch, sq inch, square inches, sq inches\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eft²\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eft^2, ft2, square foot, sq foot, square feet, sq feet\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003emi²\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emi^2, mi2, square mile, sq mile, square miles, sq miles\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eyd²\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eyd^2, yd2, square yard, sq yard, square yards, sq yards\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eac\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eacre, acres\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Current\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0A\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0ampere, %0ampere\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Digital\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0B\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0byte, %0bytes\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\n            \u003cp\u003e\n            \u003cb\u003e0: \u003c/b\u003e\n            \u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ek\u003c/code\u003e(kilo) to \u003ccode\u003eY\u003c/code\u003e (yotta) and \u003ca href=\"https://en.wikipedia.org/wiki/Binary_prefix\"\u003eIEC-Prefixes\u003c/a\u003e from \u003ccode\u003eKi\u003c/code\u003e (kibi) to \u003ccode\u003eYi\u003c/code\u003e (yobi)\n            \u003c/p\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0b\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0bit, %0bits\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\n            \u003cb\u003e0: \u003c/b\u003e\n            \u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ek\u003c/code\u003e(kilo) to \u003ccode\u003eY\u003c/code\u003e (yotta) and \u003ca href=\"https://en.wikipedia.org/wiki/Binary_prefix\"\u003eIEC-Prefixes\u003c/a\u003e from \u003ccode\u003eKi\u003c/code\u003e (kibi) to \u003ccode\u003eYi\u003c/code\u003e (yobi)\n            \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Energy\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0J\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0joule, %0joule, %0joules\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0W%1\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0watt-%1, %0watt-%1\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\n            \u003cp\u003e\u003cb\u003e1: \u003c/b\u003eh (hour, hours), s (second, seconds)\u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0eV\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0electronvolt, %0electronvolts\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0cal\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0calorie, %0calories\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003ek (kilo)\u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eerg\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eergs\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Force\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0N\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0newton\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Length\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n            \u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0m\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0meter, %0meters, %0metre, %0metres\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\n                \u003cp\u003e\n                \u003cb\u003e0: \u003c/b\u003e\n                \u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \n                \u003c/p\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ein\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e″, inch, inches\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eyd\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eyard, yards\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ely\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003elight-year, lightyear, light-years, lightyears\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eft\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003efoot, feet\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003emi\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emi., mile, miles\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Mass\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n            \u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0g\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0gram, %0gramme, %0grams\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0mt\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0metric ton, %0metric tons\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003eda\u003c/code\u003e (deca) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003et\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eton, short ton, tons, short tons\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eoz\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eoz av, ounce, avoirdupois ounce, ounces, avoirdupois ounces\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003elb\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003elb av, pound, avoirdupois pound, pound-mass, pounds, avoirdupois pounds\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Parts-Per\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eppm\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eparts per million, part per million\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eppb\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eparts per billion, part per billion\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eppt\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eparts per trillion, part per trillion\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eppq\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eparts per quadrillion, part per quadrillion\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Power\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0W\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0watt, %0watts\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003eμ\u003c/code\u003e (micro) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0J/%1\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0joule/%1, %0joules/%1\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003eμ\u003c/code\u003e (micro) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\n            \u003cp\u003e\u003cb\u003e1: \u003c/b\u003eAll time units.\u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Pressure\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0Pa\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0pascal, %0pascals\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003eμ\u003c/code\u003e (micro) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ebar\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eBar, Bars\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003etorr\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eTorr, Torrs\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eatm\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003estandard atmosphere, standard atmospheres\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eMpsi\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emegapound per square inch, megapounds per square inch\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003epsi\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003elb. p. sq. in., psia, psig, pound-force per square inch, pound per square inch, pounds per square inch\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eksi\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ekilopound per square inch, kilopounds per square inch\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003einHg\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003einch of mercury, inches of mercury\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Speed\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0m/%1\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0meter/%1, %0metre/%1, %0meter per %1, %0metre per %1, %0meters/%1, %0metres/%1, %0meters per %1, %0metres per %1\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\n            \u003cp\u003e\n                \u003cb\u003e0:\u003c/b\u003e \u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta)\n            \u003c/p\u003e\n            \u003cp\u003e\n                \u003cb\u003e1:\u003c/b\u003e Any time unit\n            \u003c/p\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eft/%0\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003efoot/%0, foot per %0, feet/%0, feet per %0\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003eAny time unit\u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003emi/%0\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emp%0, mile/%0, mile per %0, miles/%0, miles per %0\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003eAny time unit\u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ekt\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ekn, knot, knots\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eBft\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eBeaufort\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eMa\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eM, mach, Mach\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003ec\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003elightspeed, light-speed\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Temperature\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e°C\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003edegree Celsius, degrees Celsius\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e°F\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003edegree Fahrenheit, degrees Fahrenheit\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e°R\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003edegree Rankine, degrees Rankine\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eK\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eKelvin\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Time\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0s\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0second, %0seconds\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003ed\u003c/code\u003e (deci) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003emin\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eminute, minutes\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eh\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ehour, hours\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ed\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eday, days\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003ewk\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eweek, weeks\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003emth\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emonth, months\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003ea\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eyear, years\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Voltage\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0V\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0volt, %0volts\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003eY\u003c/code\u003e (yotta) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Volume\n\n\u003ctable\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eunit\u003c/th\u003e\n\t\t\t\u003cth\u003esynonyms\u003c/th\u003e\n\t\t\t\u003cth\u003e%\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/thead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0m³\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0m^3, %0m3, cubic %0meter, cubic %0meters, cubic %0metre, cubic %0metres\u003c/code\u003e\u003c/td\u003e\n            \u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003ey\u003c/code\u003e (yocto) to \u003ccode\u003ed\u003c/code\u003e (deci) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003e%0l\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e%0liter, %0liters, %0litre, %0litres\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cp\u003e\u003cb\u003e0: \u003c/b\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Metric_prefix#List_of_SI_prefixes\"\u003eSI-Prefixes\u003c/a\u003e from \u003ccode\u003em\u003c/code\u003e (milli) to \u003ccode\u003ek\u003c/code\u003e (kilo) \u003c/p\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003ein³\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003e″³, in^3, ″^3, ″3, in3, cubic inch, cubic inches\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eft³\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eft^3, ft3, cubic foot, cubic feet\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eyd³\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eyd^3, yd3, cubic yard, cubic yards\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003ec\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ecup, cups\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003etsp\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eteaspoon, teaspoons\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003etbsp\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003etablespoon, tablespoons\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003efl oz\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003efl-oz, fluid ounce, fluid ounces\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003eqt\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003equart, quarts\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n        \u003ctr\u003e\n\t\t\t\u003cth\u003egal\u003c/th\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003egallon, gallons\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e-\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrydehix%2Fsimple-units","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrydehix%2Fsimple-units","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrydehix%2Fsimple-units/lists"}