Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gadge/cliche

number formatters
https://github.com/gadge/cliche

Last synced: about 2 months ago
JSON representation

number formatters

Awesome Lists containing this project

README

        

##### :clubs: @cliche, number formatter

[![npm version][badge-npm-version]][url-npm]
[![github commit last][badge-github-last-commit]][url-github]
[![github commit total][badge-github-commit-count]][url-github]
[![npm license][badge-npm-license]][url-npm]

[//]: <> (Shields)
[badge-npm-version]: https://flat.badgen.net/npm/v/@cliche/mag
[badge-npm-license]: https://flat.badgen.net/npm/license/@cliche/mag
[badge-github-last-commit]: https://flat.badgen.net/github/last-commit/hoyeungw/cliche
[badge-github-commit-count]: https://flat.badgen.net/github/commits/hoyeungw/cliche

[//]: <> (Link)
[url-github]: https://github.com/hoyeungw/cliche
[url-npm]: https://npmjs.org/package/@cliche/mag

#### Features

- Preset number format
- Lightweight and fast.
- ES-module support.

#### Install

```console
$ npm install @cliche/
```

#### Modules

| | | | |
| ------------------------------------- | -------------------------------- | ---- | ------------------- |
| [**mag**](packages/mag) | Format decimal numbers | core | ![v][mag-dm] |
| [**fin**](packages/fin) | Format currencies | core | ![v][fin-dm] |
| [**ratio**](packages/ratio) | Format percentages | core | ![v][ratio-dm] |
| [**to-percent**](packages/to-percent) | Convert a number to percent form | core | ![v][to-percent-dm] |
| | | | |

[//]: <> (Local routes)
[mag-dm]: https://flat.badgen.net/npm/dm/@cliche/mag
[fin-dm]: https://flat.badgen.net/npm/dm/@cliche/fin
[ratio-dm]: https://flat.badgen.net/npm/dm/@cliche/ratio
[to-percent-dm]: https://flat.badgen.net/npm/dm/@cliche/to-percent

#### Meta

[LICENSE (MIT)](LICENSE)