# elo7-format-amd

> A small lib to format string to number and vice versa

Latest version **1.1.6** (published 2020-05-04) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install elo7-format-amd
pnpm add elo7-format-amd
yarn add elo7-format-amd
bun add elo7-format-amd
```

## 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.6 |
| Published | 2020-05-04 |
| First published | 2016-12-19 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Elo7 |
| Maintainers | elo7tech |
| Keywords | JS, Formatter, Currency |

## Links

- npm: https://www.npmjs.com/package/elo7-format-amd
- Repository: https://github.com/elo7/format-amd
- Issues: https://github.com/elo7/format-amd/issues
- npm.io page: https://npm.io/package/elo7-format-amd

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.6 (latest) — 2020-05-04
- 1.1.5 — 2017-01-30
- 1.1.4 — 2016-12-19

## README

# Format-amd

_Format-amd string/number library_

Format.js is a library that converts string to number or the opposite. This library uses [amd](http://en.wikipedia.org/wiki/Asynchronous_module_definition) structure. Currently, we support currency formats.


[![Build Status](https://travis-ci.org/elo7/format-amd.svg?branch=master)](https://travis-ci.org/elo7/format-amd)


## Install

Install : `npm install elo7-format-amd`

## Dependency

Format-amd depends on an [amd](http://en.wikipedia.org/wiki/Asynchronous_module_definition) implementation. We suggest [define-async](https://www.npmjs.com/package/define-async) implementation for dependency lookup.

## Example

``` js
define(['format'], function(format) {
	format.currency(17.2, 'R$'); // Returns R$ 17,20
	format.currencyToNumber('R$ 9,50'); // Returns 9.5
});
```

## License

Format-amd is released under the [BSD](https://github.com/elo7/format-amd/blob/master/LICENSE). Have at it.

* * *

Copyright :copyright: 2014 Elo7

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