{"id":24770368,"url":"https://github.com/nmsn/utils","last_synced_at":"2025-10-27T10:05:54.459Z","repository":{"id":40641402,"uuid":"493701153","full_name":"nmsn/utils","owner":"nmsn","description":"A utils function collection.","archived":false,"fork":false,"pushed_at":"2023-12-04T01:30:14.000Z","size":2551,"stargazers_count":37,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T23:48:20.692Z","etag":null,"topics":["format","react-hooks","regex","tool-function","types","validator"],"latest_commit_sha":null,"homepage":"https://nmsn-utils.vercel.app","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/nmsn.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}},"created_at":"2022-05-18T14:35:38.000Z","updated_at":"2023-10-20T21:54:00.000Z","dependencies_parsed_at":"2023-02-15T22:45:57.263Z","dependency_job_id":null,"html_url":"https://github.com/nmsn/utils","commit_stats":{"total_commits":201,"total_committers":1,"mean_commits":201.0,"dds":0.0,"last_synced_commit":"fc34565606dad10277dc081d18797849723a55bd"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmsn%2Futils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmsn%2Futils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmsn%2Futils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmsn%2Futils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmsn","download_url":"https://codeload.github.com/nmsn/utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236126452,"owners_count":19098948,"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":["format","react-hooks","regex","tool-function","types","validator"],"created_at":"2025-01-29T03:38:00.258Z","updated_at":"2025-10-27T10:05:49.415Z","avatar_url":"https://github.com/nmsn.png","language":"TypeScript","readme":"# Utils\n\n![npm](https://img.shields.io/npm/v/@nmsn/utils)\n![GitHub last commit](https://img.shields.io/github/last-commit/nmsn/utils)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/y/nmsn/utils)\n![NPM bundle size](https://img.shields.io/bundlephobia/minzip/@nmsn/utils)\n[![codecov](https://codecov.io/gh/nmsn/utils/branch/main/graph/badge.svg?token=PCX7IEL478)](https://codecov.io/gh/nmsn/utils)\n![license](https://img.shields.io/npm/l/@nmsn/utils)\n\nEnglish | [简体中文](./README.zh-CN.md)\n## Background\n\nSummarize common tool functions for daily development。\n## Features\n\n- `format` Data type conversion functions\n- `hooks` Customized `react hooks`\n- `regex`\n- `types` Customized `ts`\n- `validator` Check function\n\n## Install\n\n```shell\nnpm install @nmsn/utils\n```\n\n## Usage\n\n```ts\nimport { addThousandSeparator } from '@nmsn/utils';\n\n// '1,000'\nconsole.log(addThousandSeparator(1000));\n```\n\n## Finished\n\n- [x] rollup\n- [x] jest\n- [x] typescript\n- [x] dumi doc\n\n## TODO\n\n- [ ] More Test Case.\n- [ ] More utils.\n## Maintainers\n\n[@nmsn](https://github.com/nmsn/utils)\n\n## Contributing\n\n[submit a new issue](https://github.com/meolu/walle-web/issues/new)\n\n## License\nMIT © nmsn\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmsn%2Futils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmsn%2Futils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmsn%2Futils/lists"}