{"id":20092336,"url":"https://github.com/rubixdev/typst-name-it","last_synced_at":"2026-02-09T15:35:22.529Z","repository":{"id":198143349,"uuid":"700165882","full_name":"RubixDev/typst-name-it","owner":"RubixDev","description":"Get the English names of integers in Typst.","archived":false,"fork":false,"pushed_at":"2024-11-10T16:48:13.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T17:51:42.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubixDev.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,"zenodo":null}},"created_at":"2023-10-04T04:32:01.000Z","updated_at":"2024-11-10T16:48:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"7be7558f-28ef-4066-a94c-e94ecb207378","html_url":"https://github.com/RubixDev/typst-name-it","commit_stats":null,"previous_names":["rubixdev/typst-name-it"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RubixDev/typst-name-it","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Ftypst-name-it","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Ftypst-name-it/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Ftypst-name-it/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Ftypst-name-it/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubixDev","download_url":"https://codeload.github.com/RubixDev/typst-name-it/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Ftypst-name-it/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29271023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-13T16:36:41.904Z","updated_at":"2026-02-09T15:35:22.509Z","avatar_url":"https://github.com/RubixDev.png","language":"Typst","readme":"# name-it\n\nGet the English names of integers.\n\n## Example\n\n![Example](./example.png)\n\n```typ\n#import \"@preview/name-it:0.1.0\": name-it\n\n#set page(width: auto, height: auto, margin: 1cm)\n\n- #name-it(-5)\n- #name-it(-5, negative-prefix: \"minus\")\n- #name-it(0)\n- #name-it(1)\n- #name-it(10)\n- #name-it(11)\n- #name-it(42)\n- #name-it(100)\n- #name-it(110)\n- #name-it(1104)\n- #name-it(11040)\n- #name-it(11000)\n- #name-it(110000)\n- #name-it(1100004)\n- #name-it(10000000000006)\n- #name-it(10000000000006, show-and: false)\n- #name-it(\"200000000000000000000000007\")\n```\n\n## Usage\n\n### `name-it`\n\nConvert the given number into its English word representation.\n\n```typ\n#let name-it(num, show-and: true, negative-prefix: \"negative\") = { .. }\n```\n\n**Arguments:**\n\n- `num`: [`int`],[`str`] \u0026mdash; The number to name.\n- `show-and`: [`bool`] \u0026mdash; Whether an “and” should be used in certain\n  places. For example, “one hundred ten” vs “one hundred and ten”.\n- `negative-prefix`: [`str`] \u0026mdash; The prefix to use for negative numbers.\n\n[`str`]: https://typst.app/docs/reference/foundations/str/\n[`int`]: https://typst.app/docs/reference/foundations/int/\n[`bool`]: https://typst.app/docs/reference/foundations/bool/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Ftypst-name-it","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubixdev%2Ftypst-name-it","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Ftypst-name-it/lists"}