@per-diem-calculator/vanilla 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Introduction
2
2
 
3
- This is an open source per diem calculator to pull lodging and meals per diem rates, and factor deductions, for both domestic and international trips. A demo can be found here: https://perdiemcalc.org.
3
+ This is an open source per diem calculator to lookup lodging and meals per diem rates, and account for deductions, for both domestic and international trips. A demo can be found here: https://perdiemcalc.org.
4
4
 
5
5
  There are a few issues with the tools available as of May 2025:
6
6
 
@@ -11,9 +11,9 @@ There are a few issues with the tools available as of May 2025:
11
11
 
12
12
  This calculator was built to address all the above issues. It's a single tool that:
13
13
 
14
- - Pulls both domestic and international rates
15
- - Accounts for multi-destination trips
14
+ - Pulls both domestic and international rates, and provides the ability to select deductions for each rate
16
15
  - Gets rates directly from federal sources via GSA's API; and via downloading OCONUS rate zip files from the Dept. of Defense (which includes the State Department's OCONUS rates), unpacking them using JSZIP, and parsing the rate XML file using DOMParser and XPathEvaluator
16
+ - Accounts for multi-destination trips
17
17
  - Easily incorporates into existing projects by being built with native Javascript web components
18
18
 
19
19
  ## Usage
@@ -48,7 +48,7 @@ const container = document.querySelector('#perDiemCalc');
48
48
  new Pdc(container);
49
49
  ```
50
50
 
51
- The expenses can be outputted to an object for further use in your application (see your console in [this demo](https://perdiemcalc.org/object), and the [Expense Object](#expense-object) and [Rates Object](#rates-object) sections):
51
+ The rates and expenses can be outputted to an object for further use in your application (see your console in [this demo](https://perdiemcalc.org/object), and the [Expense Object](#expense-object) and [Rates Object](#rates-object) sections):
52
52
 
53
53
  ```
54
54
  import { Pdc } from '@per-diem-calculator/vanilla';