Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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-format

yarn 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)