Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nmsn/utils
A utils function collection.
https://github.com/nmsn/utils
format react-hooks regex tool-function types validator
Last synced: 1 day 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T01:30:14.000Z (about 1 year ago)
- Last Synced: 2025-01-20T23:48:20.692Z (10 days 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
![npm](https://img.shields.io/npm/v/@nmsn/utils)
![GitHub last commit](https://img.shields.io/github/last-commit/nmsn/utils)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/nmsn/utils)
![NPM bundle size](https://img.shields.io/bundlephobia/minzip/@nmsn/utils)
[![codecov](https://codecov.io/gh/nmsn/utils/branch/main/graph/badge.svg?token=PCX7IEL478)](https://codecov.io/gh/nmsn/utils)
![license](https://img.shields.io/npm/l/@nmsn/utils)English | [简体中文](./README.zh-CN.md)
## BackgroundSummarize 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