@zj-dynamics/formatters 0.1.0 → 0.2.0
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@ Platform-independent locale-aware formatting utilities.
|
|
|
4
4
|
|
|
5
5
|
`formatCurrency(amount, currency)` formats with the English locale. The readonly `config` exposes USD as the default and an `errorNotifier` that writes to the console. Pass the application's currency explicitly when it differs. Applications that used a browser-global notifier can supply their own logging callback where they handle errors. `CurrencyType` preserves the frozen set.
|
|
6
6
|
|
|
7
|
+
## Security
|
|
8
|
+
|
|
9
|
+
Report suspected vulnerabilities privately to [rulnar-security@zjdynamics.com](mailto:rulnar-security@zjdynamics.com).
|
|
10
|
+
|
|
7
11
|
## License
|
|
8
12
|
|
|
9
13
|
The MIT license in `LICENSE` applies to Rulnar-owned code. Third-party materials retain their accompanying licenses and notices.
|