Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gadge/cliche
number formatters
https://github.com/gadge/cliche
Last synced: about 2 months ago
JSON representation
number formatters
- Host: GitHub
- URL: https://github.com/gadge/cliche
- Owner: gadge
- License: mit
- Created: 2020-03-12T11:21:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T01:26:16.000Z (over 4 years ago)
- Last Synced: 2024-05-08T02:03:29.930Z (9 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)