README
@cliche/mag
Format a number by adding thousand separator and limiting digits
Features
- ES2015 syntax
Install
$ npm install @cliche/mag
Usage
import { Mag } from '@cliche/mag'
Meta
Copyright (c) 2019-present, Haoyang (Vincent) Wang
Format number
<script type="module">
import clicheMag from 'https://cdn.skypack.dev/@cliche/mag';
</script>
Format a number by adding thousand separator and limiting digits
$ npm install @cliche/mag
import { Mag } from '@cliche/mag'
Copyright (c) 2019-present, Haoyang (Vincent) Wang