{"id":15645886,"url":"https://github.com/ecyrbe/ts-calc","last_synced_at":"2025-04-30T10:48:34.503Z","repository":{"id":63010419,"uuid":"533545322","full_name":"ecyrbe/ts-calc","owner":"ecyrbe","description":"compute with typescript type system","archived":false,"fork":false,"pushed_at":"2023-03-10T09:49:12.000Z","size":17,"stargazers_count":57,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T07:08:09.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ecyrbe.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":"2022-09-07T00:26:55.000Z","updated_at":"2025-02-07T16:40:37.000Z","dependencies_parsed_at":"2024-10-23T02:28:40.972Z","dependency_job_id":null,"html_url":"https://github.com/ecyrbe/ts-calc","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"1ac1b33c8f958ba0b8f1a3978c71528d60b26e9b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecyrbe%2Fts-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecyrbe%2Fts-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecyrbe%2Fts-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecyrbe%2Fts-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecyrbe","download_url":"https://codeload.github.com/ecyrbe/ts-calc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242640885,"owners_count":20162051,"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":[],"created_at":"2024-10-03T12:10:28.432Z","updated_at":"2025-03-09T03:32:01.618Z","avatar_url":"https://github.com/ecyrbe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-calc\ncompute with typescript type system\n\n![image](https://user-images.githubusercontent.com/633115/191343386-25f854d8-bdb3-43ba-9837-5a48d7ee5e77.png)\n\n\n📦 ts-calc is now integrated in [HOTScript](https://github.com/gvergnaud/hotscript).\n\nYou can compute almost anything with typescript type system.\nUnlike most example out there that use number to tuple trick, this is using new typescript 4.8 feature to convert strings to numbers or bigint.\nThis allows to arbitrary long number computations that tuple trick can't do.\nThis code base implement number and bigint for the following type functions:  \n- addition\n- negation\n- absolute value\n- subtraction\n- comparison\n- multiplication\n- division\n- modulo\n- power\n- factorial\n- range\n- fizzbuzz\n\nenjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecyrbe%2Fts-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecyrbe%2Fts-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecyrbe%2Fts-calc/lists"}