{"id":21148774,"url":"https://github.com/2ue/cn-nm","last_synced_at":"2025-07-09T08:30:44.062Z","repository":{"id":57201670,"uuid":"90697502","full_name":"2ue/cn-nm","owner":"2ue","description":"一个数值与汉字互相转换的工具。the number and chinese inner-transformation","archived":false,"fork":false,"pushed_at":"2024-07-30T09:42:03.000Z","size":115,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-14T09:44:49.141Z","etag":null,"topics":["chinese","javascript","number","transformations"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/2ue.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}},"created_at":"2017-05-09T03:16:34.000Z","updated_at":"2024-07-30T09:42:06.000Z","dependencies_parsed_at":"2022-09-18T07:34:59.060Z","dependency_job_id":null,"html_url":"https://github.com/2ue/cn-nm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ue%2Fcn-nm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ue%2Fcn-nm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ue%2Fcn-nm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ue%2Fcn-nm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2ue","download_url":"https://codeload.github.com/2ue/cn-nm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225515614,"owners_count":17483515,"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":["chinese","javascript","number","transformations"],"created_at":"2024-11-20T09:28:57.268Z","updated_at":"2024-11-20T09:28:57.961Z","avatar_url":"https://github.com/2ue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cn-nm\n\u003e 一个简单的中文和数字互转工具\n\n[中文](https://github.com/2ue/cn-nm) | [English](./doc/en/README_en.md)\n\n## 注意\n由于javascript本身机制原因，容纳数值存在上下限，所以当数值过大，请以字符串形式传入。\n\n## 使用方法\n``` javascript\n    var CNNM = require('cn-nm');\n    CNNM.toCn('300000000056747740230023050789.889909');\n    //叁十穰零伍千陆百柒十肆京柒千柒百肆十兆贰千叁百亿贰千叁百零伍万零柒百捌十玖点捌捌玖玖零玖\n    CNNM.toNm('叁十穰零伍千陆百柒十肆京柒千柒百肆十兆贰千叁百亿贰千叁百零伍万零柒百捌十玖点捌捌玖玖零玖');\n    //300000000056747740230023050789.889909\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ue%2Fcn-nm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2ue%2Fcn-nm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ue%2Fcn-nm/lists"}