{"id":16958478,"url":"https://github.com/dohliam/compare-prices","last_synced_at":"2025-08-21T05:34:27.502Z","repository":{"id":88991862,"uuid":"82096328","full_name":"dohliam/compare-prices","owner":"dohliam","description":"Compare prices - Shopping helper","archived":false,"fork":false,"pushed_at":"2020-07-08T22:01:19.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T14:07:43.259Z","etag":null,"topics":["compare-prices","javascript","prices","shopping","tiny-tools"],"latest_commit_sha":null,"homepage":"https://dohliam.github.io/tiny_tools/prices/","language":"HTML","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/dohliam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-15T19:09:14.000Z","updated_at":"2024-01-05T05:15:55.000Z","dependencies_parsed_at":"2023-06-13T11:15:13.816Z","dependency_job_id":null,"html_url":"https://github.com/dohliam/compare-prices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dohliam/compare-prices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fcompare-prices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fcompare-prices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fcompare-prices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fcompare-prices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dohliam","download_url":"https://codeload.github.com/dohliam/compare-prices/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fcompare-prices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271430893,"owners_count":24758419,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compare-prices","javascript","prices","shopping","tiny-tools"],"created_at":"2024-10-13T22:42:41.927Z","updated_at":"2025-08-21T05:34:27.470Z","avatar_url":"https://github.com/dohliam.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compare prices - Shopping helper\n\nLet's say you are looking at two different products in a store. The first one is $5.89 for 350 __ml__, and the second one is $7.50 for 16 __fl oz__. Quick, which one is the better deal? \"Compare prices\" can help you quickly and easily resolve this problem.\n\n## Usage\n\nEnter the cost of the items in the __price__ field. This will work for any currency counted in units of 100 (dollars, euros, rubles, etc).\n\nEnter the dry or liquid weight of the items in the __per__ field, and select the type of units from the dropdown menu below.\n\nPress the __Convert__ button to calculate the result. The prices will be standardized to the cost per 100 g if dry weight, or 100 ml if fluid weight.\n\n## Units supported\n\nMetric:\n\n* grams (g)\n* kilograms (kg)\n* millilitres (ml)\n* litres (l)\n\nImperial:\n\n* pounds (lb)\n* ounces (oz)\n* fluid ounces (fl oz)\n\n## To implement\n\n* Option to change currency symbol\n\n## See also\n\n\"Compare prices\" is part of the [**tiny tools**](https://dohliam.github.io/tiny_tools/) series, a collection of small mobile-friendly JavaScript tools for performing common tasks in the browser.\n\nOther tools for working with numbers, units, and currencies that might also be of interest:\n\n* [Units](https://github.com/dohliam/units)\n* [Currency table](https://github.com/dohliam/currency-table)\n\n## Credits\n\n* [Milligram](https://github.com/milligram/milligram) CSS by @cjpatoilo, prototyped using [dropin-minimal-css](https://github.com/dohliam/dropin-minimal-css)\n* [github-corners](https://github.com/tholman/github-corners) by @tholman\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fcompare-prices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdohliam%2Fcompare-prices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fcompare-prices/lists"}