{"id":20579532,"url":"https://github.com/k186/number2words","last_synced_at":"2026-04-21T16:38:53.874Z","repository":{"id":90181971,"uuid":"62291999","full_name":"k186/number2words","owner":"k186","description":"数字转换成中文大写，最大12位整数，小数最多3位","archived":false,"fork":false,"pushed_at":"2017-03-09T07:34:32.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-03-06T11:46:57.734Z","etag":null,"topics":["gulp","magic","number","tool"],"latest_commit_sha":null,"homepage":"https://k186.github.io/number2words/index.html","language":"JavaScript","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/k186.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-30T08:03:05.000Z","updated_at":"2019-01-04T07:34:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c432e9b-25d7-43a1-b0ed-fbe8aec3b049","html_url":"https://github.com/k186/number2words","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/k186/number2words","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fnumber2words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fnumber2words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fnumber2words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fnumber2words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k186","download_url":"https://codeload.github.com/k186/number2words/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k186%2Fnumber2words/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260458438,"owners_count":23012494,"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":["gulp","magic","number","tool"],"created_at":"2024-11-16T06:17:18.972Z","updated_at":"2026-04-21T16:38:48.840Z","avatar_url":"https://github.com/k186.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"##数字转中文大写（javascript）\n\n欢迎提建议谢谢。\n\n###现在状态\n最大输入12位整数，小数最多3位\n```\n壹 亿 贰 仟 叁 佰 肆 拾 伍 万 陆 仟 柒 佰 捌 拾 玖 元 壹 角 贰 分 叁 厘\n```\n\n自动判断小数位数，不在做默认设定\n\n\n使用方法\n```\n var option={\n        isTag:true, //false\n        numTag:'span',//可为空\n        unitTag:'div'//可为空\n    };\n*.innerHTML= num2word(number,option);调用方法名 及参数\n```\n\n传入参数增加输出标签ID\n```\n现有输出是字符串如果在某些情况下会转义html标签，这是我们不想看到的\n····\noption={\n    ....\n    outputID:\"\"\n}\nnum2word(number,option);调用方法名 及参数\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fnumber2words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk186%2Fnumber2words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk186%2Fnumber2words/lists"}