{"id":16557626,"url":"https://github.com/twlite/temperature","last_synced_at":"2026-06-07T11:31:34.015Z","repository":{"id":57675351,"uuid":"283527959","full_name":"twlite/temperature","owner":"twlite","description":"Simple package for deno to convert temperature.","archived":false,"fork":false,"pushed_at":"2020-08-04T09:37:14.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-14T05:44:04.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twlite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-29T14:56:01.000Z","updated_at":"2025-12-18T00:45:18.000Z","dependencies_parsed_at":"2022-08-30T15:40:38.953Z","dependency_job_id":null,"html_url":"https://github.com/twlite/temperature","commit_stats":null,"previous_names":["twlite/temperature","skdhg/temperature","snowflake107/temperature"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/twlite/temperature","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Ftemperature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Ftemperature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Ftemperature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Ftemperature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twlite","download_url":"https://codeload.github.com/twlite/temperature/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Ftemperature/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":[],"created_at":"2024-10-11T20:08:06.388Z","updated_at":"2026-06-07T11:31:33.997Z","avatar_url":"https://github.com/twlite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Temperature\r\nSimple package for deno to convert temperature.\r\n\r\n\u003e **[Click here for nodejs version](https://npmjs.com/package/node-temperature-converter)**\r\n\r\n# Features\r\n- simple\r\n- fast\r\n- easy to use\r\n\r\n# Example\r\n\r\n```ts\r\nimport Converter from \"https://raw.githubusercontent.com/Snowflake107/temperature/master/mod.ts\";\r\n\r\n// celsius\r\nconst celsius = new Converter.Celsius(35);\r\n\r\nconst obc = {\r\n    name: \"Celsius\",\r\n    deg: celsius.degrees,\r\n    fah: celsius.toFahrenheit(),\r\n    kel: celsius.toKelvin(),\r\n    str: celsius.toString(),\r\n};\r\nconsole.table(obc);\r\n\r\n/*\r\nExpected Output:\r\n┌───────┬───────────┐\r\n│ (idx) │  Values   │\r\n├───────┼───────────┤\r\n│ name  │ \"Celsius\" │\r\n│  deg  │    35     │\r\n│  fah  │    95     │\r\n│  kel  │  308.15   │\r\n│  str  │  \"35°C\"   │\r\n└───────┴───────────┘\r\n*/\r\n\r\n// fahrenheit\r\nconst fahrenheit = new Converter.Fahrenheit(95);\r\n\r\nconst obf = {\r\n    name: \"Fahrenheit\",\r\n    deg: fahrenheit.degrees,\r\n    cel: fahrenheit.toCelsius(),\r\n    kel: fahrenheit.toKelvin(),\r\n    str: fahrenheit.toString(),\r\n};\r\nconsole.table(obf);\r\n\r\n/* \r\nExpected Output:\r\n┌───────┬──────────────┐\r\n│ (idx) │    Values    │\r\n├───────┼──────────────┤\r\n│ name  │ \"Fahrenheit\" │\r\n│  deg  │      95      │\r\n│  cel  │      35      │\r\n│  kel  │    308.15    │\r\n│  str  │    \"95°F\"    │\r\n└───────┴──────────────┘\r\n*/\r\n\r\n// kelvin\r\nconst kelvin = new Converter.Kelvin(308.15);\r\n\r\nconst obk = {\r\n    name: \"Kelvin\",\r\n    deg: kelvin.degrees,\r\n    cel: kelvin.toCelsius(),\r\n    fah: kelvin.toFahrenheit(),\r\n    str: kelvin.toString(),\r\n};\r\nconsole.table(obk);\r\n\r\n/* \r\nExpected Output:\r\n┌───────┬───────────┐\r\n│ (idx) │  Values   │\r\n├───────┼───────────┤\r\n│ name  │ \"Kelvin\"  │\r\n│  deg  │  308.15   │\r\n│  cel  │    35     │\r\n│  fah  │    95     │\r\n│  str  │ \"308.15K\" │\r\n└───────┴───────────┘\r\n*/\r\n\r\n```\r\n\r\n# Running (No permissions required)\r\n\r\n```sh\r\ndeno run \u003cyourfile\u003e\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Ftemperature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwlite%2Ftemperature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Ftemperature/lists"}