# big-currency

> An Angular pipe for handling currencies with big numbers. Derived from Angular currency pipe.

Latest version **0.0.3** (published 2019-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install big-currency
pnpm add big-currency
yarn add big-currency
bun add big-currency
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-02-11 |
| First published | 2019-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 257.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Zsolt Deák |
| Maintainers | amdor |
| Keywords | big, number, angular, pipe, library, currency |

## Links

- npm: https://www.npmjs.com/package/big-currency
- Repository: https://github.com/amdor/currency_pipe
- Homepage: https://github.com/amdor/currency_pipe#readme
- Issues: https://github.com/amdor/currency_pipe/issues
- npm.io page: https://npm.io/package/big-currency

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

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

- 0.0.3 (latest) — 2019-02-11
- 0.0.2 — 2019-02-10
- 0.0.1 — 2019-02-10

## README

# BigCurrency

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.

## Purpose
Originally Angular CurrencyPipe does not let you use big numbers, they rely on JavaScript number precision. This Angular library solves that issue.

## Usage
After installing with
```
npm i big-currency
```
import the module in your AppModule
```typescript
@NgModule({
	declarations: [
		AppComponent
	],
	imports: [
		BigCurrencyModule
	],
	bootstrap: [AppComponent]
})
export class AppModule {
}
```
then you can use it as if using [CurrencyPipe](https://angular.io/api/common/CurrencyPipe), but instead of 
``` | currency```
use
``` | bigCurrency```


The package uses [big.js](https://github.com/MikeMcl/big.js), so you can fine-tune precision with Big properties sucha as DP and PE.

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