https://github.com/nmsn/utils
A utils function collection.
https://github.com/nmsn/utils
format react-hooks regex tool-function types validator
Last synced: 4 months ago
JSON representation
A utils function collection.
- Host: GitHub
- URL: https://github.com/nmsn/utils
- Owner: nmsn
- License: mit
- Created: 2022-05-18T14:35:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T01:30:14.000Z (about 2 years ago)
- Last Synced: 2025-01-20T23:48:20.692Z (about 1 year ago)
- Topics: format, react-hooks, regex, tool-function, types, validator
- Language: TypeScript
- Homepage: https://nmsn-utils.vercel.app
- Size: 2.43 MB
- Stars: 37
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Utils




[](https://codecov.io/gh/nmsn/utils)

English | [简体中文](./README.zh-CN.md)
## Background
Summarize common tool functions for daily development。
## Features
- `format` Data type conversion functions
- `hooks` Customized `react hooks`
- `regex`
- `types` Customized `ts`
- `validator` Check function
## Install
```shell
npm install @nmsn/utils
```
## Usage
```ts
import { addThousandSeparator } from '@nmsn/utils';
// '1,000'
console.log(addThousandSeparator(1000));
```
## Finished
- [x] rollup
- [x] jest
- [x] typescript
- [x] dumi doc
## TODO
- [ ] More Test Case.
- [ ] More utils.
## Maintainers
[@nmsn](https://github.com/nmsn/utils)
## Contributing
[submit a new issue](https://github.com/meolu/walle-web/issues/new)
## License
MIT © nmsn