# number-separator

> number separator

Latest version **2.0.0** (published 2017-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install number-separator
pnpm add number-separator
yarn add number-separator
bun add number-separator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-09-22 |
| First published | 2017-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | jérôme Queyrou |
| Maintainers | jqueyrou |
| Keywords | number, separator, node.js |

## Links

- npm: https://www.npmjs.com/package/number-separator
- Repository: https://github.com/jeromequeyrou/number-separator
- Homepage: https://github.com/jeromequeyrou/number-separator#readme
- Issues: https://github.com/jeromequeyrou/number-separator/issues
- npm.io page: https://npm.io/package/number-separator

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-09-22
- 1.1.0 — 2017-08-18
- 1.0.0 — 2017-08-18

## README

# number-separator

with number-separator you can set a separator each thousands of your integer or float to give it more readable

[![travis build](https://img.shields.io/travis/jeromequeyrou/number-separator.svg)](https://travis-ci.org/jeromequeyrou/number-separator/builds/266726936?utm_source=github_status&utm_medium=notification)
[![GitHub release](https://img.shields.io/github/release/jeromequeyrou/number-separator.svg)]()
[![license](https://img.shields.io/github/license/jeromequeyrou/number-separator.svg)]()
[![Github file size](https://img.shields.io/github/size/jeromequeyrou/number-separator/src/index.js.svg)]()
[![Codecov](https://img.shields.io/codecov/c/github/jeromequeyrou/number-separator.svg)]()

## Installation

you install it with npm : 

    npm i number-separator

## Usage

You can include it easly :

### ES6
```javascript
	import numberSeparator from "number-separator";
```
### ES5
```javascript
	var numberSeparator = require("number-separator");
```
### Syntaxe

```javascript
	numberSeparator(10000); // return "10 000"
	numberSeparator(10000,","); // return "10,000"
	numberSeparator(10000.1234, ",",","); // return "10,000.1,234"
	numberSeparator(10000.1234, "",""); // return "10000.1234"
```

---
_Source: https://npm.io/package/number-separator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
