1 | ## @cliche/mag
|
2 | Format a number by adding thousand separator and limiting digits
|
3 |
|
4 | [![npm version][npm-image]][npm-url]
|
5 | [![npm quality][quality-image]][quality-url]
|
6 | [![npm download][download-image]][npm-url]
|
7 | [![npm total-download][total-download-image]][npm-url]
|
8 | [![size][size]][size-url]
|
9 | [![github commit activity][commit-image]][github-url]
|
10 | [![npm license][license-image]][npm-url]
|
11 |
|
12 | ## Features
|
13 |
|
14 | - ES2015 syntax
|
15 |
|
16 | ## Install
|
17 | ```console
|
18 | $ npm install @cliche/mag
|
19 | ```
|
20 |
|
21 | ## Usage
|
22 | ```js
|
23 | import { Mag } from '@cliche/mag'
|
24 | ```
|
25 |
|
26 | ## Meta
|
27 | [LICENSE (MIT)](/LICENSE)
|
28 |
|
29 | Copyright (c) 2019-present, Haoyang (Vincent) Wang
|
30 |
|
31 | [//]: <> (Shields)
|
32 | [npm-image]: https://img.shields.io/npm/v/@cliche/mag.svg?style=flat-square
|
33 | [quality-image]: http://npm.packagequality.com/shield/@cliche/mag.svg?style=flat-square
|
34 | [download-image]: https://img.shields.io/npm/dm/@cliche/mag.svg?style=flat-square
|
35 | [total-download-image]:https://img.shields.io/npm/dt/@cliche/mag.svg?style=flat-square
|
36 | [license-image]: https://img.shields.io/npm/l/@cliche/mag.svg?style=flat-square
|
37 | [commit-image]: https://img.shields.io/github/commit-activity/y/hoyeungw/@cliche/mag?style=flat-square
|
38 | [size]: https://flat.badgen.net/packagephobia/install/@cliche/mag
|
39 |
|
40 | [//]: <> (Link)
|
41 | [npm-url]: https://npmjs.org/package/@cliche/mag
|
42 | [quality-url]: http://packagequality.com/#?package=@cliche/mag
|
43 | [github-url]: https://github.com/hoyeungw/@cliche/mag
|
44 | [size-url]: https://packagephobia.now.sh/result?p=@cliche/mag
|