# format-money-with-separator

> a module for format money string with separator

Latest version **1.1.2** (published 2020-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install format-money-with-separator
pnpm add format-money-with-separator
yarn add format-money-with-separator
bun add format-money-with-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 | 1.1.2 |
| Published | 2020-03-17 |
| First published | 2020-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | jerryyu |
| Maintainers | jerryyu |

## Links

- npm: https://www.npmjs.com/package/format-money-with-separator
- npm.io page: https://npm.io/package/format-money-with-separator

## Recent versions

- 1.1.2 (latest) — 2020-03-17
- 1.1.1 — 2020-03-17

## README

## format-money-with-separator

a module for format money string with separator

## Installation

```bash
$ npm install format-money-with-separator
```

## Usage

```js
let separateMoney = require("format-money-with-separator");
separateMoney(12345678); // "12.345.678"
separateMoney(12345678, ","); // "12,345,678"
```

## API

The following are all api of this library:

| API                  |                             Description                              |
| -------------------- | :------------------------------------------------------------------: |
| separateMoney(param) | format a value with separator, the value can be a number or a string |

## License

MIT

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