Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ricardojrmcom/number-format

Format numbers
https://github.com/ricardojrmcom/number-format

numeraljs typescript

Last synced: about 1 month ago
JSON representation

Format numbers

Awesome Lists containing this project

README

        

# 🌙 `@ricardojrmcom/number-format`

Format numbers

![build](https://img.shields.io/github/workflow/status/ricardojrmcom/number-format/Continuous%20Integration?style=for-the-badge)
![license](https://img.shields.io/github/license/ricardojrmcom/number-format?style=for-the-badge)

![author]()

![lang](https://img.shields.io/github/languages/top/ricardojrmcom/number-format?style=for-the-badge)
![version](https://img.shields.io/npm/v/@ricardojrmcom/number-format?style=for-the-badge)
![size](https://img.shields.io/bundlephobia/min/@ricardojrmcom/number-format?style=for-the-badge)


---


### Install

```ts
npm install @ricardojrmcom/number-format

yarn add @ricardojrmcom/number-format
```


### Usage

```ts
import { numberFormat } from '@ricardojrmcom/number-format'

numberFormat(1337)
-> "1,337"

```


---


### License

[MIT](https://github.com/ricardojrmcom/number-format/blob/main/LICENSE) © Ricardo Mota ([@ricardojrmcom](https://github.com/ricardojrmcom))

Bootstrapped with 🟪[@ricardojrmcom/nova](https://github.com/ricardojrmcom/nova)