format-money-js
Advanced tools
Comparing version 1.6.1 to 1.6.2
/*! | ||
* format-money-js v1.6.0 | ||
* format-money-js v1.6.2 | ||
* (c) 2020-2023 Yurii Derevych | ||
@@ -4,0 +4,0 @@ * URL: https://github.com/dejurin/format-money-js |
"use strict"; | ||
/*! | ||
* format-money-js v1.6.0 | ||
* format-money-js v1.6.2 | ||
* (c) 2020-2023 Yurii Derevych | ||
@@ -16,3 +16,3 @@ * URL: https://github.com/dejurin/format-money-js | ||
this.options = options; | ||
this.version = '1.6.0'; | ||
this.version = '1.6.2'; | ||
this.defaults = { | ||
@@ -19,0 +19,0 @@ grouping: true, |
{ | ||
"name": "format-money-js", | ||
"description": "Zero dependency tiny JavaScript library (1kB bytes) by CurrencyRate.today, providing simple way and advanced number, money and currency formatting and removes all formatting/cruft and returns the raw float value.", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"license": "BSD-2-Clause", | ||
@@ -6,0 +6,0 @@ "main": "./dist/format-money.js", |
/*! | ||
* format-money-js v1.6.1 | ||
* format-money-js v1.6.2 | ||
* (c) 2020-2023 Yurii Derevych | ||
@@ -12,3 +12,3 @@ * URL: https://github.com/dejurin/format-money-js | ||
export interface FormatMoneyOptions { // (default) | ||
grouping?: boolean; // Example: 1,000 vs 1000 (true)tsc --version | ||
grouping?: boolean; // Example: 1,000 vs 1000 (true) | ||
separator?: string; // Grouping separator (,) | ||
@@ -32,3 +32,3 @@ decimalPoint?: string; // Sets the separator for the decimal point. | ||
export class FormatMoney { | ||
version = '1.6.1'; | ||
version = '1.6.2'; | ||
@@ -35,0 +35,0 @@ private defaults: FormatMoneyOptions = { |
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
25096
3765