{"id":28326577,"url":"https://github.com/jtpeller/num2words","last_synced_at":"2025-06-24T04:31:11.455Z","repository":{"id":144422097,"uuid":"437737414","full_name":"jtpeller/num2words","owner":"jtpeller","description":"Converts a number to its English counterpart. Uses arbitrary precision; so a number of any size can be converted.","archived":false,"fork":false,"pushed_at":"2025-02-11T01:49:05.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T08:35:18.828Z","etag":null,"topics":["arbitrary-precision","english-numbers","go","golang","num2words"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jtpeller.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":"2021-12-13T04:38:31.000Z","updated_at":"2025-02-11T05:08:31.000Z","dependencies_parsed_at":"2024-02-17T21:29:42.480Z","dependency_job_id":"867a57fb-58a3-4e9f-af56-17e3e140a67f","html_url":"https://github.com/jtpeller/num2words","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/jtpeller/num2words","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2Fnum2words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2Fnum2words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2Fnum2words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2Fnum2words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpeller","download_url":"https://codeload.github.com/jtpeller/num2words/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2Fnum2words/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261603962,"owners_count":23183569,"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":["arbitrary-precision","english-numbers","go","golang","num2words"],"created_at":"2025-05-25T23:13:28.260Z","updated_at":"2025-06-24T04:31:11.445Z","avatar_url":"https://github.com/jtpeller.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# num2words\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/jtpeller/num2words.svg)](https://pkg.go.dev/github.com/jtpeller/num2words)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jtpeller/num2words)](https://goreportcard.com/report/github.com/jtpeller/num2words)\n[![Release](https://img.shields.io/github/release/jtpeller/num2words.svg?style=flat-square)](https://github.com/jtpeller/num2words/releases)\n![GitHub License](https://img.shields.io/github/license/jtpeller/num2words)\n\n## Overview\n\nConverts a number to its English counterpart.\n\n## Usage\n\nInstallation can be achieved via:\n\n```sh\ngo get -u github.com/jtpeller/num2words\n```\n\nThen, import it:\n\n```go\nimport \"github.com/jtpeller/num2words\"\n```\n\nYou can test the package by running the following command. It will give a short pass or fail result.\n\n```sh\ngo test ./num2words_test\n```\n\nAlternatively, for a more verbose output, use:\n\n```sh\ngo test ./num2words_test -v\n```\n\nIt also wouldn't hurt to add a `-timeout 30` to prevent hanging on a test for too long.\n\n## Contents\n\n- `num2words_test`\n  - `num2words_test.go` -- holds all test functions for the package\n- `bignum.go` -- holds needed wrappers for the big number package. Utilizes my repo at [gobig](https://github.com/jtpeller/gobig)\n- `go.mod` -- manages the module\n- `go.sum` -- manages any dependencies (which itself is managed by `go.mod`)\n- `num2words.go` -- implementation for converting numbers to their word representation (e.g. 5 =\u003e five)\n- `README.md` -- the file you're reading\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpeller%2Fnum2words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpeller%2Fnum2words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpeller%2Fnum2words/lists"}