@cliche/mag

Format number

Usage no npm install needed!

<script type="module">
  import clicheMag from 'https://cdn.skypack.dev/@cliche/mag';
</script>

README

@cliche/mag

Format a number by adding thousand separator and limiting digits

npm version npm quality npm download npm total-download size github commit activity npm license

Features

  • ES2015 syntax

Install

$ npm install @cliche/mag

Usage

import { Mag } from '@cliche/mag'

Meta

LICENSE (MIT)

Copyright (c) 2019-present, Haoyang (Vincent) Wang