Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricardojrmcom/use-number-format
Format numbers with React
https://github.com/ricardojrmcom/use-number-format
numeraljs react typescript
Last synced: about 1 month 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T03:31:53.000Z (over 2 years ago)
- Last Synced: 2024-11-12T20:49:50.264Z (about 2 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
![build](https://img.shields.io/github/workflow/status/ricardojrmcom/use-number-format/Continuous%20Integration?style=for-the-badge)
![license](https://img.shields.io/github/license/ricardojrmcom/use-number-format?style=for-the-badge)![author]()
![lang](https://img.shields.io/github/languages/top/ricardojrmcom/use-number-format?style=for-the-badge)
![version](https://img.shields.io/npm/v/@ricardojrmcom/use-number-format?style=for-the-badge)
![size](https://img.shields.io/bundlephobia/min/@ricardojrmcom/use-number-format?style=for-the-badge)
---
### 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)