js-abbreviation-number
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "js-abbreviation-number", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Abbreviate numbers in javascript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,3 +6,3 @@ # js-abbreviation-number · [![Circle CI](https://circleci.com/gh/moh3n9595/js-abbreviation-number/tree/master.svg?style=shield)](https://circleci.com/gh/moh3n9595/js-abbreviation-number) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/moh3n9595/js-abbreviation-number/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](https://github.com/moh3n9595/js-abbreviation-number/compare) | ||
<p align="center"> | ||
<img src="./images/cover.png" style="border-radius: 15px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);"> | ||
<img src="./images/cover.png"> | ||
<br> | ||
@@ -35,4 +35,4 @@ <p align="center"> | ||
``` | ||
`abbreviateNumber(num: number, digit?: number, symbols?: Array<string>): string` | ||
The `symbols` is optional. It can be an array of units, defaulting to `["", "K", "M", "G", "T", "P", "E"]`. | ||
@@ -39,0 +39,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52073