https://github.com/ricardojrmcom/use-number-format
Format numbers with React
https://github.com/ricardojrmcom/use-number-format
numeraljs react typescript
Last synced: 4 months ago
JSON representation
Format numbers with React
- Host: GitHub
- URL: https://github.com/ricardojrmcom/use-number-format
- Owner: ricardojrmcom
- License: mit
- Created: 2021-12-13T04:33:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T03:31:53.000Z (about 3 years ago)
- Last Synced: 2025-02-21T23:48:32.848Z (4 months ago)
- Topics: numeraljs, react, typescript
- Language: JavaScript
- Homepage:
- Size: 340 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌘 `@ricardojrmcom/use-number-format`
Format numbers with React

![author]()



---
### Install
```ts
npm install @ricardojrmcom/use-number-formatyarn add @ricardojrmcom/use-number-format
```
### Usage
```ts
import { useNumberformat } from '@ricardojrmcom/use-number-format';useNumberFormat(1337)
-> "1,337"
```
---
### License
[MIT](https://github.com/ricardojrmcom/use-number-format/blob/main/LICENSE) © Ricardo Mota ([@ricardojrmcom](https://github.com/ricardojrmcom))
Bootstrapped with 🟣[@ricardojrmcom/supernova](https://github.com/ricardojrmcom/supernova)